# Axis

engine/Source/Scene/Axis.js 10
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

#### static constant Cesium.Axis.X : number
engine/Source/Scene/Axis.js 17

Denotes the x-axis.

#### static constant Cesium.Axis.X_UP_TO_Y_UP : Matrix4
engine/Source/Scene/Axis.js 86

Matrix used to convert from x-up to y-up

#### static constant Cesium.Axis.X_UP_TO_Z_UP : Matrix4
engine/Source/Scene/Axis.js 64

Matrix used to convert from x-up to z-up

#### static constant Cesium.Axis.Y : number
engine/Source/Scene/Axis.js 25

Denotes the y-axis.

Default Value: `1`

#### static constant Cesium.Axis.Y_UP_TO_X_UP : Matrix4
engine/Source/Scene/Axis.js 97

Matrix used to convert from y-up to x-up

#### static constant Cesium.Axis.Y_UP_TO_Z_UP : Matrix4
engine/Source/Scene/Axis.js 42

Matrix used to convert from y-up to z-up

#### static constant Cesium.Axis.Z : number
engine/Source/Scene/Axis.js 33

Denotes the z-axis.

Default Value: `2`

#### static constant Cesium.Axis.Z_UP_TO_X_UP : Matrix4
engine/Source/Scene/Axis.js 75

Matrix used to convert from z-up to x-up

#### static constant Cesium.Axis.Z_UP_TO_Y_UP : Matrix4
engine/Source/Scene/Axis.js 53

Matrix used to convert from z-up to y-up

### Methods

#### static Cesium.Axis.fromName(name) → number
engine/Source/Scene/Axis.js 108

Gets the axis by name

Name | Type | Description
--- | --- | ---
`name` | string | The name of the axis.

##### Returns:

The axis enum.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.