Axis

enum Axis : Enum<Axis>

Represents an axis in 3D space.

Used by primitive geometries (e.g. capsule) to indicate the axis along which the geometry is oriented.

Entries

Link copied to clipboard

The X-axis direction.

Link copied to clipboard

The Y-axis direction (default).

Link copied to clipboard

The Z-axis direction.

Link copied to clipboard

Represents a value not recognized by this version of the SDK.

Properties

Link copied to clipboard
val entries: EnumEntries<Axis>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val value: Int

The stable int value of the axis.

Functions

Link copied to clipboard
fun valueOf(value: String): Axis

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Axis>

Returns an array containing the constants of this enum type, in the order they're declared.