具有用于用户定义动画的变换的模型节点。glTF资产可以
包含以节点变换为目标的动画。这个类允许
在外部更改节点的变换,以便动画可以由另一个节点驱动
源,而不仅仅是glTF资源中的动画。
Use Model#getNode
to create an instance.
Example:
var node = model.getNode('LOD3sp');
node.matrix = Cesium.Matrix4.fromScale(new Cesium.Cartesian3(5.0, 1.0, 1.0), node.matrix);
See:
Members
节点的索引。
matrix : Matrix4
节点从其局部坐标到
它的父母的。
For changes to take effect, this property must be assigned to; setting individual elements of the matrix will not work.
此节点的
name
属性的值。originalMatrix : Matrix4
获取节点从其本地坐标到
它的父节点的,没有应用任何节点转换或表达。
确定是否显示此节点及其子节点。
-
Default Value:
true