# new Camera()
Camera class for 3D scene viewing Handles view and projection matrices for perspective projection
Classes
Members
# viewMatrix
View matrix for camera position and orientation
Methods
# getViewProjectionMatrix() → {Float32Array}
Gets the combined view-projection matrix
View-projection matrix
Float32Array
# translateCamera(x, y, z) → {void}
Translates the camera in world space
Parameters:
Name | Type | Description |
---|---|---|
x |
number
|
X-axis translation |
y |
number
|
Y-axis translation |
z |
number
|
Z-axis translation |
void