API

Function ReflectionProbeParse

  • Parse the JSON representation of a reflection probe in order to recreate the reflection probe in the given scene.

    Parameters

    • parsedReflectionProbe: any

      Define the JSON representation of the reflection probe

    • scene: Scene

      Define the scene the parsed reflection probe should be instantiated in

    • rootUrl: string

      Define the root url of the parsing sequence in the case of relative dependencies

    Returns Nullable<ReflectionProbe>

    The parsed reflection probe if successful