OctahedralGroup
Link to octahedralgroup
导入类
Link to 导入类
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;
已实现的接口
Link to 已实现的接口
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
使用方式
Link to 使用方式
Name: compose
Return Type: OctahedralGroup
ZenScript CopyOctahedralGroup.compose(group as OctahedralGroup) as OctahedralGroup
参数 | 类型 | 描述 |
---|---|---|
参数 group | 类型 OctahedralGroup | 描述 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
参数 | 类型 | 描述 |
---|---|---|
参数 axis | 类型 Axis | 描述 No Description Provided |
Name: rotate
Return Type: FrontAndTop
ZenScript CopyOctahedralGroup.rotate(frontAndTop as FrontAndTop) as FrontAndTop
参数 | 类型 | 描述 |
---|---|---|
参数 frontAndTop | 类型 FrontAndTop | 描述 No Description Provided |
Name: transformation
Return Type: Matrix3f
ZenScript Copy// OctahedralGroup.transformation() as Matrix3f
myOctahedralGroup.transformation();
名称 | 类型 | 可获得 | 可设置 | 描述 |
---|---|---|---|---|
名称 transformation | 类型 Matrix3f | 可获得 true | 可设置 false | 描述 No Description Provided |