TranslationRotationScale

new Cesium.TranslationRotationScale(translation, rotation, scale)

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

Members

获取或设置(x, y, z, w) rotation 以应用于节点。
Default Value: Quaternion.IDENTITY
获取或设置(x, y, z) 缩放以应用于节点。
Default Value: new Cartesian3(1.0, 1.0, 1.0)
获取或设置(x, y, z) translation 以应用于节点。
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.