sparkengineweb
    Preparing search index...

    Function registerTypeFactory

    • Internal

      This component is an helper used during the loading of scenes We don't recommend using it directly

      Parameters

      • type: string

        the type of the element to register

      • constructor: Function

        the construction function of the element

      • category: string = DEFAULT_CATEGORY

      Returns void