TranslationRotationScale

external class TranslationRotationScale(var translation: Cartesian3 = definedExternally, var rotation: Quaternion = definedExternally, var scale: Cartesian3 = definedExternally)(source)

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

See also

Constructors

Link copied to clipboard
constructor(translation: Cartesian3 = definedExternally, rotation: Quaternion = definedExternally, scale: Cartesian3 = definedExternally)

Properties

Link copied to clipboard

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

Link copied to clipboard

A Cartesian3 specifying the (x, y, z) scaling to apply to the node. Default value - Cartesian3(1.0, 1.0, 1.0)

Link copied to clipboard

A Cartesian3 specifying the (x, y, z) translation to apply to the node. Default value - Cartesian3.ZERO