# Axis

Scene/Axis.js 11
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
Scene/Axis.js 18

Denotes the x-axis.

#### static constant Cesium.Axis.X_UP_TO_Y_UP : Matrix4
Scene/Axis.js 75

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

#### static constant Cesium.Axis.X_UP_TO_Z_UP : Matrix4
Scene/Axis.js 59

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

#### static constant Cesium.Axis.Y : Number
Scene/Axis.js 26

Denotes the y-axis.

Default Value: `1`

#### static constant Cesium.Axis.Y_UP_TO_X_UP : Matrix4
Scene/Axis.js 83

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

#### static constant Cesium.Axis.Y_UP_TO_Z_UP : Matrix4
Scene/Axis.js 43

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

#### static constant Cesium.Axis.Z : Number
Scene/Axis.js 34

Denotes the z-axis.

Default Value: `2`

#### static constant Cesium.Axis.Z_UP_TO_X_UP : Matrix4
Scene/Axis.js 67

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

#### static constant Cesium.Axis.Z_UP_TO_Y_UP : Matrix4
Scene/Axis.js 51

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

### Methods

#### static Cesium.Axis.fromName(name) → Number
Scene/Axis.js 91

Gets the axis by name

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

##### Returns:

The axis enum.