draw String
fun drawString(text: String, x: Float, y: Float, z: Float, color: Int = 0xffffffff.toInt(), renderBlackBox: Boolean = true, scale: Float = 1.0f, increase: Boolean = true)
Content copied to clipboard
Renders floating lines of text in the 3D world at a specific position.
Parameters
text
The string array of text to render
x
X coordinate in the game world
y
Y coordinate in the game world
z
Z coordinate in the game world
color
the color of the text
render Black Box
render a pretty black border behind the text
scale
the scale of the text
increase
whether to scale the text up as the player moves away