-
Notifications
You must be signed in to change notification settings - Fork 0
originalNodeId
David Komer edited this page Jul 25, 2018
·
4 revisions
The nodes that were loaded from a Gltf get their original index as originalNodeId
, an optional property on the GltfNode
Type.
This can be used in combination with GltfData
to get all the associated info in the original gltf, for example to inspect extra
fields or to look up the original data buffers.
At runtime, it is only used by the skin/joint system for finding and updating the nodes that are affected by skin transforms.
Animations do not use this value - rather it's only used during parsing to create the reverse lookup keys.