OctahedralGroup
Link to octahedralgroup
Importare la Classe
Link to importare-la-classe
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;
Interfacce Implementate
Link to interfacce-implementate
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
Metodi
Link to metodi
Name: compose
Return Type: OctahedralGroup
ZenScript CopyOctahedralGroup.compose(group as OctahedralGroup) as OctahedralGroup
Parametro | Tipo | Descrizione |
---|---|---|
Parametro gruppo | Tipo OctahedralGroup | Descrizione 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
Parametro | Tipo | Descrizione |
---|---|---|
Parametro axis | Tipo Axis | Descrizione No Description Provided |
Name: rotate
Return Type: FrontAndTop
ZenScript CopyOctahedralGroup.rotate(frontAndTop as FrontAndTop) as FrontAndTop
Parametro | Tipo | Descrizione |
---|---|---|
Parametro frontAndTop | Tipo FrontAndTop | Descrizione No Description Provided |
Name: transformation
Return Type: Matrix3f
ZenScript Copy// OctahedralGroup.transformation() as Matrix3f
myOctahedralGroup.transformation();
Proprietà
Link to proprietà
Nome | Tipo | Ha Getter | Ha Setter | Descrizione |
---|---|---|---|---|
Nome transformation | Tipo Matrix3f | Ha Getter sì | Ha Setter no | Descrizione No Description Provided |