# TranslationRotationScale

#### new Cesium.TranslationRotationScale(translation, rotation, scale)
engine/Source/Core/TranslationRotationScale.js 18

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

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
engine/Source/Core/TranslationRotationScale.js 31

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

Default Value: `Quaternion.IDENTITY`

#### scale : Cartesian3
engine/Source/Core/TranslationRotationScale.js 38

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

Default Value: `new Cartesian3(1.0, 1.0, 1.0)`

#### translation : Cartesian3
engine/Source/Core/TranslationRotationScale.js 24

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

Default Value: `Cartesian3.ZERO`

### Methods

#### equals(right) → boolean
engine/Source/Core/TranslationRotationScale.js 48

Compares this instance against the provided instance and returns `true` if they are equal, `false` otherwise.

Name | Type | Description
--- | --- | ---
`right` | TranslationRotationScale | optional 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.