core
/
graphics.glimpse.cameras
/
FreeCamera
common
Free
Camera
data class
FreeCamera
(eye:
Vec3
, roll:
Angle
, pitch:
Angle
, yaw:
Angle
) :
Camera
Content copied to clipboard
A freely transformed camera, defined by its
eye
position, and its rotations:
roll
,
pitch
,
yaw
.
Types
Constructors
Properties
Constructors
FreeCamera
Link copied to clipboard
common
fun
FreeCamera
(eye:
Vec3
, roll:
Angle
, pitch:
Angle
, yaw:
Angle
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
common
object
Companion
Content copied to clipboard
Properties
eye
Link copied to clipboard
common
open override val
eye
:
Vec3
Content copied to clipboard
Position of the camera eye.
pitch
Link copied to clipboard
common
val
pitch
:
Angle
Content copied to clipboard
Camera pitch angle (point upwards/downwards).
roll
Link copied to clipboard
common
val
roll
:
Angle
Content copied to clipboard
Camera roll angle (clockwise/anticlockwise rotation of the camera eye).
viewMatrix
Link copied to clipboard
common
open override val
viewMatrix
:
Mat4
Content copied to clipboard
View matrix defined by the camera.
yaw
Link copied to clipboard
common
val
yaw
:
Angle
Content copied to clipboard
Camera yaw angle (camera heading rotation)