TranslationRotationScale

new Cesium.TranslationRotationScale(translation, rotation, scale)

由平移、旋转和缩放定义的仿射变换。
Name Type Default Description
translation Cartesian3 Cartesian3.ZERO optional 指定应用于节点的 (x, y, z) 平移的 Cartesian3
rotation Quaternion Quaternion.IDENTITY optional 指定应用于节点的 (x, y, z, w) 旋转的 Quaternion
scale Cartesian3 new Cartesian3(1.0, 1.0, 1.0) optional 指定应用于节点的 (x, y, z) 缩放的 Cartesian3

Members

获取或设置应用于节点的 (x, y, z, w) 旋转。
Default Value: Quaternion.IDENTITY
获取或设置应用于节点的 (x, y, z) 缩放。
Default Value: new Cartesian3(1.0, 1.0, 1.0)
获取或设置应用于节点的 (x, y, z) 平移。
Default Value: Cartesian3.ZERO

Methods

将此实例与提供的实例进行比较,如果相等则返回 true,否则返回 false
Name Type Description
right TranslationRotationScale optional 右侧的 TranslationRotationScale。
Returns:
如果相等则返回 true,否则返回 false
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.