LoadSceneCallback: (err: string | null, entity?: Entity) => any

Type declaration

    • (err: string | null, entity?: Entity): any
    • Parameters

      • err: string | null

        The error message in the case where the loading or parsing fails.

      • Optionalentity: Entity

        The loaded root entity if no errors were encountered.

      Returns any