liberty-engine v0.0.14-beta.2 (2018-07-02T09:50:23Z)
Dub
Repo
Camera
liberty
core
scenegraph
camera
final
class
Camera :
Actor
{
enum
Yaw
;
enum
Pitch
;
float
fov
();
float
nearPlane
();
float
farPlane
();
this
(string id, Node parent, Vector3F position, Vector3F up, float yaw, float pitch);
Vector3F
position
[@property setter];
Matrix4F
projectionMatrix
();
Matrix4F
viewMatrix
();
void
fov
(float value);
void
resetFov
();
void
update
(float deltaTime);
const
(
Matrix4F
)
projection
();
const
(
Matrix4F
)
view
();
void
rotateYaw
(float value);
void
rotatePitch
(float value);
void
yaw
(float value);
void
pitch
(float value);
void
switchProjectionType
();
}
Constructors
this
this
(string id, Node parent, Vector3F position, Vector3F up, float yaw, float pitch)
Members
Functions
farPlane
float
farPlane
()
fov
float
fov
()
fov
void
fov
(float value)
nearPlane
float
nearPlane
()
pitch
void
pitch
(float value)
projection
const
(
Matrix4F
)
projection
()
projectionMatrix
Matrix4F
projectionMatrix
()
resetFov
void
resetFov
()
rotatePitch
void
rotatePitch
(float value)
rotateYaw
void
rotateYaw
(float value)
switchProjectionType
void
switchProjectionType
()
update
void
update
(float deltaTime)
view
const
(
Matrix4F
)
view
()
viewMatrix
Matrix4F
viewMatrix
()
yaw
void
yaw
(float value)
Manifest constants
Pitch
enum
Pitch
;
Yaw
enum
Yaw
;
Properties
position
Vector3F
position
[@property setter]
Meta
Source
See Implementation
liberty
core
scenegraph
camera
classes
Camera
enums
CameraMovement
CameraProjection