getNode
Returns the node with the given name in the glTF. This is used to modify a node's transform for user-defined animation.
// Apply non-uniform scale to node "Hand"
const node = model.getNode("Hand");
node.matrix = Matrix4.fromScale(new Cartesian3(5.0, 1.0, 1.0), node.matrix);Content copied to clipboard
Return
The node, or undefined if no node with the name exists.
Parameters
name
The name of the node in the glTF.