worldToScreen

fun worldToScreen(position: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>): ERROR CLASS: Symbol not found for Pair<kotlin/Float, kotlin/Float>

Converts world coordinates to screen coordinates based on the camera's transformation.

Return

The corresponding screen position as a pair of floats (x, y).

Parameters

position

The world position as a triple of floats (x, y, z).


fun worldToScreen(x: Float, y: Float, z: Float): ERROR CLASS: Symbol not found for Pair<kotlin/Float, kotlin/Float>
fun worldToScreen(x: Int, y: Int, z: Int): ERROR CLASS: Symbol not found for Pair<kotlin/Float, kotlin/Float>

Converts world coordinates to screen coordinates based on the camera's transformation.

Return

The corresponding screen position as a pair of floats (x, y).

Parameters

x

The X coordinate of the world position.

y

The Y coordinate of the world position.

z

The Z coordinate of the world position.