Skip to content

KBE3D / KBCore / Cesium / TranslationRotationScale

类: TranslationRotationScale

An affine transformation defined by a translation, rotation, and scale.

参数

A Cartesian3 specifying the (x, y, z) translation to apply to the node.

参数

A Quaternion specifying the (x, y, z, w) rotation to apply to the node.

参数

A Cartesian3 specifying the (x, y, z) scaling to apply to the node.

属性

translation

translation: Cartesian3

Gets or sets the (x, y, z) translation to apply to the node.


rotation

rotation: Quaternion

Gets or sets the (x, y, z, w) rotation to apply to the node.


scale

scale: Cartesian3

Gets or sets the (x, y, z) scaling to apply to the node.

方法

equals()

equals(right?: TranslationRotationScale): boolean

Compares this instance against the provided instance and returns <code>true</code> if they are equal, <code>false</code> otherwise.

参数

TranslationRotationScale

The right hand side TranslationRotationScale.

返回

boolean

true if they are equal, false otherwise.

构造函数

构造函数

new TranslationRotationScale(translation?: Cartesian3, rotation?: Quaternion, scale?: Cartesian3): TranslationRotationScale

参数

translation?

Cartesian3

rotation?

Quaternion

scale?

Cartesian3

返回

TranslationRotationScale

KBE3D @3.0.0 Copyright © 2024-present KBE3D