update

fun update(mode: CameraMode3D)

Updates the camera's current mode.

Parameters

mode

The new camera mode to set


fun update(dx: Float = 0.0f, dy: Float = 0.0f, dz: Float = 0.0f, drotX: Float = 0.0f, drotY: Float = 0.0f, drotZ: Float = 0.0f, zoom: Float = 1.0f)

Updates the camera's movement, rotation, and speed.

Parameters

dx

The delta in X position.

dy

The delta in Y position.

dz

The delta in Z position.

drotX

The delta in X rotation in degrees.

drotY

The delta in Y rotation in degrees.

drotZ

The delta in Z rotation in degrees.

zoom

The new zoom value.


fun update(delta: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float> = 0F to 0F to 0F, deltaRot: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float> = 0F to 0F to 0F, zoom: Float = 1.0f)

Updates the camera's movement, rotation, and speed.

Parameters

delta

The delta for the camera position.

deltaRot

The delta for the camera rotation in degrees.

zoom

The new zoom value.