new PerspectiveCamera()
Properties:
Name | Type | Description |
---|---|---|
verticalFOV |
number | The vertical field of view in radians. |
Extends
Methods
-
_setScene()
-
- Inherited From:
-
clone()
-
-
destroy()
-
- Inherited From:
-
getRay(x, y)
-
Returns a ray in world space at the given coordinates.
Parameters:
Name Type Description x
The x-coordinate in NDC [-1, 1] range.
y
The y-coordinate in NDC [-1, 1] range.
- Inherited From:
-
setJitterOffset(v)
-
Offsets the projection matrix. Is called by the renderer AFTER updating the resolution.
Parameters:
Name Type Description v
Float2 A Float2 object with components in range from [-1, 1]. 0 represents the center of the subpixel, 1 to the right.
- Inherited From: