AxisAlignedRotation
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.
import mods.botanypotstweaker.displaystate.AxisAlignedRotation;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
AxisAlignedRotation is an enum with 12 constants. They are accessible like so:
// AxisAlignedRotation.X_0<constant:botanypots:axis_aligned_rotation:x_0>// AxisAlignedRotation.X_180<constant:botanypots:axis_aligned_rotation:x_180>// AxisAlignedRotation.X_270<constant:botanypots:axis_aligned_rotation:x_270>// AxisAlignedRotation.X_90<constant:botanypots:axis_aligned_rotation:x_90>// AxisAlignedRotation.Y_0<constant:botanypots:axis_aligned_rotation:y_0>// AxisAlignedRotation.Y_180<constant:botanypots:axis_aligned_rotation:y_180>// AxisAlignedRotation.Y_270<constant:botanypots:axis_aligned_rotation:y_270>// AxisAlignedRotation.Y_90<constant:botanypots:axis_aligned_rotation:y_90>// AxisAlignedRotation.Z_0<constant:botanypots:axis_aligned_rotation:z_0>// AxisAlignedRotation.Z_180<constant:botanypots:axis_aligned_rotation:z_180>// AxisAlignedRotation.Z_270<constant:botanypots:axis_aligned_rotation:z_270>// AxisAlignedRotation.Z_90<constant:botanypots:axis_aligned_rotation:z_90>
Members
Getter
A Quaternion that contains the rotational information. In this case it represents a 0, 90, 180, or 270-degree rotation along the X, Y, or Z axis.script.zs
// AxisAlignedRotation.rotation as Quaternionf<constant:botanypots:axis_aligned_rotation:x_0>.rotation
Return Type:
Quaternionf