An enum describing the x, y, and z axes and helper conversion functions.
Properties:
| Name | Type | Description |
|---|---|---|
X |
number | Denotes the x-axis. |
Y |
number | Denotes the y-axis. |
Z |
number | Denotes the z-axis. |
Members
Denotes the x-axis.
static constant Cesium.Axis.X_UP_TO_Y_UP : Matrix4
Matrix used to convert from x-up to y-up
static constant Cesium.Axis.X_UP_TO_Z_UP : Matrix4
Matrix used to convert from x-up to z-up
Denotes the y-axis.
-
Default Value:
1
static constant Cesium.Axis.Y_UP_TO_X_UP : Matrix4
Matrix used to convert from y-up to x-up
static constant Cesium.Axis.Y_UP_TO_Z_UP : Matrix4
Matrix used to convert from y-up to z-up
Denotes the z-axis.
-
Default Value:
2
static constant Cesium.Axis.Z_UP_TO_X_UP : Matrix4
Matrix used to convert from z-up to x-up
static constant Cesium.Axis.Z_UP_TO_Y_UP : Matrix4
Matrix used to convert from z-up to y-up
Methods
Gets the axis by name
| Name | Type | Description |
|---|---|---|
name |
string | The name of the axis. |
Returns:
The axis enum.
