@JsType(isNative=true, namespace="Cesium", name="TranslationRotationScale") public class TranslationRotationScale extends Object
Modifier and Type | Field and Description |
---|---|
Quaternion |
rotation
Gets or sets the (x, y, z, w) rotation to apply to the node.
|
Cartesian3 |
scale
Gets or sets the (x, y, z) scaling to apply to the node.
|
Cartesian3 |
translation
Gets or sets the (x, y, z) translation to apply to the node.
|
Constructor and Description |
---|
TranslationRotationScale()
An affine transformation defined by a translation, rotation, and scale.
|
TranslationRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale)
An affine transformation defined by a translation, rotation, and scale.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(TranslationRotationScale right)
Compares this instance against the provided instance and returns true if they are equal, false otherwise.
|
public Quaternion rotation
Quaternion.IDENTITY()
public Cartesian3 scale
public Cartesian3 translation
Cartesian3.ZERO()
@JsConstructor public TranslationRotationScale()
@JsConstructor public TranslationRotationScale(Cartesian3 translation, Quaternion rotation, Cartesian3 scale)
translation
- A Cartesian3 specifying the (x, y, z) translation to apply to the node. Default: Cartesian3.ZERO()
rotation
- A Quaternion specifying the (x, y, z, w) rotation to apply to the node. Default: Quaternion.IDENTITY()
scale
- A Cartesian3 specifying the (x, y, z) scaling to apply to the node. Default: new Cartesian3(1.0, 1.0, 1.0)public boolean equals(TranslationRotationScale right)
right
- The right hand side TranslationRotationScale.Copyright © 2019. All rights reserved.