Constructors
constructor
- new CameraProperties(changeHandler: (() => void)): CameraProperties
-
Parameters
-
changeHandler: (() => void)
Accessors
far
- get far(): number
-
Returns number
- set far(value: number): void
-
Returns void
fov
- get fov(): number
-
Returns number
- set fov(value: number): void
-
Returns void
height
- get height(): number
-
Returns number
- set height(value: number): void
-
Returns void
near
- get near(): number
-
Returns number
- set near(value: number): void
-
Returns void
Methods
getProjectionMatrix
- getProjectionMatrix(width: number, height: number): mat4
-
Parameters
-
width: number
-
height: number
Returns mat4
onChange
- onChange(): void
-
Returns void