TranslationRotationScale

new Cesium.TranslationRotationScale(translation, rotation, scale)

An affine transformation defined by a translation, rotation, and scale.
参数名称 类型 默认值 描述信息
translation Cartesian3 Cartesian3.ZERO 可选 A Cartesian3 specifying the (x, y, z) translation to apply to the node.
rotation Quaternion Quaternion.IDENTITY 可选 A Quaternion specifying the (x, y, z, w) rotation to apply to the node.
scale Cartesian3 new Cartesian3(1.0, 1.0, 1.0) 可选 A Cartesian3 specifying the (x, y, z) scaling to apply to the node.

成员(属性)

Gets or sets the (x, y, z, w) rotation to apply to the node.
默认值: Quaternion.IDENTITY
Gets or sets the (x, y, z) scaling to apply to the node.
默认值: new Cartesian3(1.0, 1.0, 1.0)
Gets or sets the (x, y, z) translation to apply to the node.
默认值: Cartesian3.ZERO

方法

Compares this instance against the provided instance and returns true if they are equal, false otherwise.
参数名称 类型 描述信息
right TranslationRotationScale 可选 The right hand side TranslationRotationScale.
返回值:
true if they are equal, false otherwise.