Axis

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

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

static constant Cesium.Axis.Y : Number

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

static constant Cesium.Axis.Z : Number

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

static Cesium.Axis.fromName(name)Number

Gets the axis by name
Name Type Description
name String The name of the axis.
Returns:
The axis enum.