Transformation

@Environment(value = EnvType.CLIENT)
class Transformation(scale: Float, offset: Vector3fc) : RenderContext.QuadTransform(source)

A RenderContext.QuadTransform, which scales each quad to scale, and then offsets them by offset.

Parameters

scale

The size multiplier of each quad

offset

The position modifier of each quad

Constructors

Link copied to clipboard
constructor(scale: Float, offset: Vector3fc)

Functions

Link copied to clipboard
open override fun transform(quadView: MutableQuadView): Boolean