new Cesium.TranslationRotationScale(translation, rotation, scale)

由翻译,旋转,和比例定义的affine转换.
Name Type Default Description
translation Cartesian3 Cartesian3.ZERO optional A Cartesian3 specifying the (x, y, z) translation to apply to the node.
rotation Quaternion Quaternion.IDENTITY optional A Quaternion specifying the (x, y, z, w) rotation to apply to the node.
scale Cartesian3 new Cartesian3(1.0, 1.0, 1.0) optional A Cartesian3 specifying the (x, y, z) scaling to apply to the node.

Members

rotation : Quaternion

获取或设置(x,y,z,w)旋转以适用于节点.
Default Value: Quaternion.IDENTITY

scale : Cartesian3

获取或设置(x,y,z)缩放以适用于节点.
Default Value: new Cartesian3(1.0, 1.0, 1.0)

translation : Cartesian3

获取或设置(x,y,z)翻译以适用于节点.
Default Value: Cartesian3.ZERO

Methods

equals(right)boolean

将此实例与所提供的实例进行比较并返回 -NT+0+Treal NT+1+,如果两者是相等的, NT+2+false NT+3+否则.
Name Type Description
right TranslationRotationScale optional 右手侧翻译旋转图.
Returns:
-NT+0+Treal NT+1+,如果两者是相等的, NT+2+false NT+3+否则.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.