Camera3D

constructor(position: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>, target: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>, rotation: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float> = 0f to 0f to 0f, fovy: Float = 0.0f, projection: CameraProjection3D = CameraProjection3D.PERSPECTIVE)


constructor(x: Float = 0.0f, y: Float = 0.0f, z: Float = 0.0f, targetX: Float = 0.0f, targetY: Float = 0.0f, targetZ: Float = 0.0f, rotX: Float = 0.0f, rotY: Float = 0.0f, rotZ: Float = 0.0f, fovy: Float = 0.0f, projection: CameraProjection3D = CameraProjection3D.PERSPECTIVE)

Creates a new Camera3D.

Parameters

x

The X position of the camera

y

The Y position of the camera

z

The Z position of the camera

targetX

The X position of the camera's target

targetY

The Y position of the camera's target

targetZ

The Z position of the camera's target

rotX

The X rotational value of the camera in degress

rotY

The X rotational value of the camera in degrees

rotZ

The X rotational value of the camera in degrees

fovy

Camera FOV apperture in Y (degrees) in perspective, or near plane width in orthographic

projection

The type of camera projection