Camera3D


Vocabulary
raylib

Class description
Represents a camera in 3D space. The fields are defined as followed:

Fields
position is the camera position in 3D space.
target is the target the camera is looking at.
up is the direction that faces up relative to the camera.
fovy is the camera's field of view aperature in degrees. Used as the near-plane for orthogrphic projections.
projection is the camera's projection:CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC


Definition


STRUCT: Camera3D
{
position Vector3 initial:
S{ Vector3 { x 0.0 } { y 0.0 } { z 0.0 } }
} {
target Vector3 initial:
S{ Vector3 { x 0.0 } { y 0.0 } { z 0.0 } }
} {
up Vector3 initial:
S{ Vector3 { x 0.0 } { y 0.0 } { z 0.0 } }
} { fovy float initial: 0.0 }
{ projection CameraProjection } ;


Methods