English中文

TranslationRotationScale

new Cesium.TranslationRotationScale(translation, rotation, scale)

由平移、旋转和缩放定义的仿射变换。 An affine transformation defined by a translation, rotation, and scale.
名称 Name 类型 Type 默认值 Default 说明 Description
translation Cartesian3 Cartesian3.ZERO 可选 optional A Cartesian3 指定应用于节点的 (x, y, z) 平移。 specifying the (x, y, z) translation to apply to the node.
rotation Quaternion Quaternion.IDENTITY 可选 optional A Quaternion 指定应用于节点的 (x, y, z, w) 旋转。 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 指定应用于节点的 (x, y, z) 缩放。 specifying the (x, y, z) scaling to apply to the node.

成员 Members

获取或设置要应用于节点的 (x, y, z, w) 旋转。 Gets or sets the (x, y, z, w) rotation to apply to the node.
默认值: Default Value: Quaternion.IDENTITY
获取或设置要应用于节点的 (x, y, z) 缩放。 Gets or sets the (x, y, z) scaling to apply to the node.
默认值: Default Value: new Cartesian3(1.0, 1.0, 1.0)
获取或设置要应用于节点的 (x, y, z) 转换。 Gets or sets the (x, y, z) translation to apply to the node.
默认值: Default Value: Cartesian3.ZERO

方法 Methods

将此实例与提供的实例进行比较并返回 Compares this instance against the provided instance and returns true 如果它们相等, if they are equal, false otherwise.
名称 Name 类型 Type 说明 Description
right TranslationRotationScale 可选 optional 右侧 TranslationRotationScale。 The right hand side TranslationRotationScale.
返回: Returns:
true 如果它们相等, if they are equal, false otherwise.
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.