alignedAxis

The aligned axis is the direction vector that the billboard up vector points towards. The default is the zero vector, which means the billboard is aligned to the screen up vector. Note that only the zero vector (0,0,0) resets the alignment to screen up.

// Example 1.
// Have the billboard up vector point north
billboard.alignedAxis = Cartesian3.UNIT_Z;
// Example 2.
// Have the billboard point east.
billboard.alignedAxis = Cartesian3.UNIT_Z;
billboard.rotation = -Cesium.Math.PI_OVER_TWO;
// Example 3.
// Reset the aligned axis
billboard.alignedAxis = Cartesian3.ZERO;

See also