Axis
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
Axis
implements the following interfaces:
Undocumented Interfaces
Predicate<Direction>
,Comparable<Enum>
Enum Constants
Axis is an enum with 3 constants. They are accessible like so:
Members
choose(x as int, y as int, z as int) as int
Parameters:
x: int
Type: int
y: int
Type: int
z: int
Type: int
Return Type:
int
choose(x as double, y as double, z as double) as double
Parameters:
x: double
Type: double
y: double
Type: double
z: double
Type: double
Return Type:
double
Getter
Return Type:
bool
horizontal() as bool
Return Type:
bool
Getter
Return Type:
string
name() as string
Return Type:
string
Getter
Gets the serialized name.
Return Type:
string
serializedName() as string
Gets the serialized name.
Returns: the serialized name.
Return Type:
string
Getter
Return Type:
bool
vertical() as bool
Return Type:
bool