ThreePipe
    Preparing search index...

    Function copyPublicUserData

    • Deep copy/clone from source to dest without the private keys, the keys that start with _ or __, at every depth. This is the userData that is saved in glTF: _ keys are kept on clone and in JSON but not in glTF, __ keys are kept nowhere (see IObject3D.userData). Used for the shadow camera in GLTFLightExtrasExtension. For JSON (toJSON, fromJSON) use copyUserData, which skips only the __ keys.

      Parameters

      • dest: any
      • source: any

      Returns any