Type Alias PrefabProviderCallback

PrefabProviderCallback: (guid: string) => Promise<Object3D | null>

Callback type for prefab providers.

Type declaration

    • (guid: string): Promise<Object3D | null>
    • Parameters

      • guid: string

        The guid of the prefab to resolve

      Returns Promise<Object3D | null>

      The prefab Object3D, or null if not found