A model node with a transform for user-defined animations. A glTF asset can contain animations that target a node's transform. This class allows changing a node's transform externally so animation can be driven by another source, not just an animation in the glTF asset.
Model#getNode to create an instance.
var node = model.getNode('LOD3sp'); node.matrix = Cesium.Matrix4.fromScale(new Cesium.Cartesian3(5.0, 1.0, 1.0), node.matrix);
The name of the glTF JSON property for this node. This is guaranteed to be unique among all nodes. It may not match the node's
nameproperty (@link ModelNode#name), which is assigned by the artist when the asset is created.
The node's 4x4 matrix transform from its local coordinates to its parent's.
For changes to take effect, this property must be assigned to; setting individual elements of the matrix will not work.
The value of the
nameproperty of this node. This is the name assigned by the artist when the asset is created. This can be different than the name of the node property (
ModelNode#id), which is internal to glTF.
Determines if this node and its children will be shown.