NodeTransformationProperty

new Cesium.NodeTransformationProperty(options)

生成 TranslationRotationScale 数据的 Property
Name Type Description
options object optional 包含以下属性的对象:
Name Type Default Description
translation Property | Cartesian3 Cartesian3.ZERO optional 指定要应用于节点的(x, y, z)平移的 Cartesian3 属性。
rotation Property | Quaternion Quaternion.IDENTITY optional 指定要应用于节点的(x, y, z, w)旋转的 Quaternion 属性。
scale Property | Cartesian3 new Cartesian3(1.0, 1.0, 1.0) optional 指定要应用于节点的(x, y, z)缩放的 Cartesian3 属性。

Members

获取每当此属性定义更改时引发的事件。 如果对getValue的调用对同一时间返回不同的结果,则定义被视为已更改。
获取指示此属性是否为常量的值。如果getValue对当前定义始终返回相同结果,则属性被视为常量。
获取或设置指定要应用于节点的(x, y, z, w)旋转的 Quaternion 属性。
Default Value: Quaternion.IDENTITY
获取或设置指定要应用于节点的(x, y, z)缩放的 Cartesian3 属性。
Default Value: new Cartesian3(1.0, 1.0, 1.0)
获取或设置指定要应用于节点的(x, y, z)平移的 Cartesian3 属性。
Default Value: Cartesian3.ZERO

Methods

将此属性与提供的属性进行比较,如果相等则返回true,否则返回false
Name Type Description
other Property optional 另一个属性。
Returns:
如果左右相等则返回true,否则返回false
获取提供时间的属性值。
Name Type Default Description
time JulianDate JulianDate.now() optional 检索值的时间。如果省略,则使用当前系统时间。
result TranslationRotationScale optional 存储值的对象,如果省略,则创建并返回新实例。
Returns:
修改后的结果参数,如果未提供结果参数则返回新实例。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.