new OrthographicCamera()
Properties:
| Name | Type | Description |
|---|---|---|
height |
number | The height of the projection. Width is calculated based on aspect ratio. |
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 xThe x-coordinate in NDC [-1, 1] range.
yThe 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 vFloat2 A Float2 object with components in range from [-1, 1]. 0 represents the center of the subpixel, 1 to the right.
- Inherited From: