Initializes a new BlockModel.
BlockModel
The cuboids that make up the block model.
BlockModel
The name of the block model.
BlockModel
Adds a cuboid to the block model.
The cuboid to add.
BlockModel
Adds multiple cuboids to the block model.
Rest ...cuboids: ModelCuboid[]The cuboids to add.
BlockModel
Appends the cuboid data from another BlockModel to current BlockModel.
The BlockModel to append.
The current BlockModel.
BlockModel
Applies a matrix transformation to the block model.
The matrix transformation to apply.
BlockModel
Clones the BlockModel into a new instance.
Optional name: string = ...A new instance of the current BlockModel.
BlockModel
Rotates the block model by the given euler angles.
The euler angles to rotate the block model by.
BlockModel
Rotates the block model around its center by the given euler angles.
The euler angles to rotate the block model by.
BlockModel
Scales the block model by the given vector.
The vector to scale the block model by.
BlockModel
Scales the block model around its center by the given vector.
BlockModel
Sets the Material for all cuboids in the block model.
BlockModel
Translates the block model by the given offset.
The offset to translate the block model by.
BlockModel
Generated using TypeDoc
Defines a block model within a Mod.
BlockModel