ModelNode

ModelNode

new

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.

Use Model#getNode to create an instance.

Example
var node = model.getNode('LOD3sp');
node.matrix = Matrix4.fromScale(new Cartesian3(5.0, 1.0, 1.0), node.matrix);
See:
Source:

Members

<readonly> :String

The value of the name property 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, which is internal to glTF.