Skip to content

common • net.kernelpanicsoft.archie.data.client.model • AModelBuilder • RootTransformsBuilder

RootTransformsBuilder


Functions

end


leftRotation


fun leftRotation(leftRotation: Quaternionf?): AModelBuilder.RootTransformsBuilder<T>

Sets the left rotation of the root transform.


origin



postRotation


fun postRotation(postRotation: Quaternionf?): AModelBuilder.RootTransformsBuilder<T>

rightRotation


fun rightRotation(rightRotation: Quaternionf?): AModelBuilder.RootTransformsBuilder<T>

rotation


fun rotation(rotation: Quaternionf?): AModelBuilder.RootTransformsBuilder<T>

Sets the left rotation of the root transform.


Sets the left rotation of the root transform.

scale




fun scale(xScale: Float, yScale: Float, zScale: Float): AModelBuilder.RootTransformsBuilder<T>

toJson


fun toJson(): JsonObject

transform


fun transform(transformation: Transformation): AModelBuilder.RootTransformsBuilder<T>

translation


fun translation(translation: Vector3f?): AModelBuilder.RootTransformsBuilder<T>

Sets the translation of the root transform.


Sets the translation of the root transform.