OctahedralGroup
Link to octahedralgroup
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.util.math.OctahedralGroup;
Implemented Interfaces
Link to implemented-interfaces
OctahedralGroup implements the following interfaces. That means all methods defined in these interfaces are also available in OctahedralGroup
Enum Constants
Link to enum-constants
OctahedralGroup is an enum. It has 48 enum constants. They are accessible using the code below.
ZenScript CopyOctahedralGroup.IDENTITY
OctahedralGroup.ROT_180_FACE_XY
OctahedralGroup.ROT_180_FACE_XZ
OctahedralGroup.ROT_180_FACE_YZ
OctahedralGroup.ROT_120_NNN
OctahedralGroup.ROT_120_NNP
OctahedralGroup.ROT_120_NPN
OctahedralGroup.ROT_120_NPP
OctahedralGroup.ROT_120_PNN
OctahedralGroup.ROT_120_PNP
OctahedralGroup.ROT_120_PPN
OctahedralGroup.ROT_120_PPP
OctahedralGroup.ROT_180_EDGE_XY_NEG
OctahedralGroup.ROT_180_EDGE_XY_POS
OctahedralGroup.ROT_180_EDGE_XZ_NEG
OctahedralGroup.ROT_180_EDGE_XZ_POS
OctahedralGroup.ROT_180_EDGE_YZ_NEG
OctahedralGroup.ROT_180_EDGE_YZ_POS
OctahedralGroup.ROT_90_X_NEG
OctahedralGroup.ROT_90_X_POS
OctahedralGroup.ROT_90_Y_NEG
OctahedralGroup.ROT_90_Y_POS
OctahedralGroup.ROT_90_Z_NEG
OctahedralGroup.ROT_90_Z_POS
OctahedralGroup.INVERSION
OctahedralGroup.INVERT_X
OctahedralGroup.INVERT_Y
OctahedralGroup.INVERT_Z
OctahedralGroup.ROT_60_REF_NNN
OctahedralGroup.ROT_60_REF_NNP
OctahedralGroup.ROT_60_REF_NPN
OctahedralGroup.ROT_60_REF_NPP
OctahedralGroup.ROT_60_REF_PNN
OctahedralGroup.ROT_60_REF_PNP
OctahedralGroup.ROT_60_REF_PPN
OctahedralGroup.ROT_60_REF_PPP
OctahedralGroup.SWAP_XY
OctahedralGroup.SWAP_YZ
OctahedralGroup.SWAP_XZ
OctahedralGroup.SWAP_NEG_XY
OctahedralGroup.SWAP_NEG_YZ
OctahedralGroup.SWAP_NEG_XZ
OctahedralGroup.ROT_90_REF_X_NEG
OctahedralGroup.ROT_90_REF_X_POS
OctahedralGroup.ROT_90_REF_Y_NEG
OctahedralGroup.ROT_90_REF_Y_POS
OctahedralGroup.ROT_90_REF_Z_NEG
OctahedralGroup.ROT_90_REF_Z_POS
Methods
Link to methods
Name: compose
Return Type: OctahedralGroup
ZenScript CopyOctahedralGroup.compose(group as OctahedralGroup) as OctahedralGroup
Parameter | Type | Description |
---|---|---|
Parameter group | Type OctahedralGroup | Description No Description Provided |
Name: inverse
Return Type: OctahedralGroup
ZenScript Copy// OctahedralGroup.inverse() as OctahedralGroup
myOctahedralGroup.inverse();
Name: inverts
Return Type: boolean
ZenScript CopyOctahedralGroup.inverts(axis as Axis) as boolean
Parameter | Type | Description |
---|---|---|
Parameter axis | Type Axis | Description No Description Provided |
Name: rotate
Return Type: FrontAndTop
ZenScript CopyOctahedralGroup.rotate(frontAndTop as FrontAndTop) as FrontAndTop
Parameter | Type | Description |
---|---|---|
Parameter frontAndTop | Type FrontAndTop | Description No Description Provided |
Name: transformation
Return Type: Matrix3f
ZenScript Copy// OctahedralGroup.transformation() as Matrix3f
myOctahedralGroup.transformation();
Properties
Link to properties
이름 | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
이름 transformation | Type Matrix3f | Has Getter true | Has Setter false | Description No Description Provided |