Module gltf_json::extensions::scene
source · Expand description
Contains Scene
, Node
, and other related data structures.
Modules
Structs
- A node in the node hierarchy. When the node contains
skin
, allmesh.primitives
must containJOINTS_0
andWEIGHTS_0
attributes. A node can have either amatrix
or any combination oftranslation
/rotation
/scale
(TRS) properties. TRS properties are converted to matrices and postmultiplied in theT * R * S
order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), only TRS properties may be present;matrix
will not be present. - The root
Node
s of a scene.