billboard

fun Canvas.billboard(camera: Camera3D, texture: Texture2D, x: Int, y: Int, z: Int, scale: Float = 1.0f, tint: Color = Color.WHITE)

Draws a billboard texture in 3D space.

Parameters

camera

The camera to use for rendering the billboard.

texture

The texture to draw as a billboard.

x

The X coordinate of the billboard position.

y

The Y coordinate of the billboard position.

z

The Z coordinate of the billboard position.

scale

The scale of the billboard.

tint

The tint color to apply to the billboard. Default is white.