rotation

@NotNull
open fun rotation(): @NotNull ModelRotation

Returns the current rotation of the model.

Return

the model rotation

Since

1.15.2


fun rotation(@NotNull supplier: @NotNull Supplier<ModelRotation>)

Sets the supplier for the base model rotation.

Since

1.15.2

Parameters

supplier

the rotation supplier