get Baked Quads
fun ModelPart.getBakedQuads(sprite: Sprite, transformation: Transformation = Transformation.IDENTITY, luminance: Int = 0): MutableList<BakedQuad>(source)
Renders the model to BakedQuads.
Parameters
sprite
The sprite of the model part
luminance
The luminance of the model. Must be in range [0,15]
transformation
The transformation to apply to the model part while rendering
fun ModelPart.getBakedQuads(bakedQuadConsumer: Consumer<BakedQuad>, sprite: Sprite, transformation: Transformation = Transformation.IDENTITY, luminance: Int = 0)(source)
Renders the model to BakedQuads.
Parameters
baked Quad Consumer
The consumer of the output quads
sprite
The sprite of the model part
transformation
The transformation to apply to the model part while rendering
luminance
The luminance of the model. Must be in range [0,15]