类 ModelBuilder.ElementBuilder.RotationBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder.RotationBuilder
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明angle
(float angle) axis
(Direction.Axis axis) (专用程序包) BlockElementRotation
build()
end()
origin
(float x, float y, float z) rescale
(boolean rescale)
-
字段详细资料
-
origin
private org.joml.Vector3f origin -
axis
-
angle
private float angle -
rescale
private boolean rescale
-
-
构造器详细资料
-
RotationBuilder
public RotationBuilder()
-
-
方法详细资料
-
origin
-
axis
- 参数:
axis
- the axis of rotation- 返回:
- this builder
- 抛出:
NullPointerException
- ifaxis
isnull
-
angle
- 参数:
angle
- the rotation angle- 返回:
- this builder
- 抛出:
IllegalArgumentException
- ifangle
is invalid (not one of 0, +/-22.5, +/-45)
-
rescale
-
build
BlockElementRotation build() -
end
-