Camera3D
Defined in: src/modules/camera-3d/camera3d.ts:17
A 3D camera’s lens — what it sees, not where it stands. The pose comes from
the camera entity’s Position3D + Rotation3D (see getCameraPose);
the camera looks down its local -Z with +Y up.
Properties
Section titled “Properties”far:
number
Defined in: src/modules/camera-3d/camera3d.ts:19
Far clip distance, world units in front of the camera.
fovY:
number
Defined in: src/modules/camera-3d/camera3d.ts:21
Vertical field of view in radians. Used by 'perspective' only.
near:
number
Defined in: src/modules/camera-3d/camera3d.ts:23
Near clip distance, world units in front of the camera; > 0 for perspective.
orthoSize
Section titled “orthoSize”orthoSize:
number
Defined in: src/modules/camera-3d/camera3d.ts:25
Half the view’s height in world units (Unity orthographicSize). Used by 'orthographic' only.
projection
Section titled “projection”projection:
Camera3DProjection
Defined in: src/modules/camera-3d/camera3d.ts:26
viewportH
Section titled “viewportH”viewportH:
number
Defined in: src/modules/camera-3d/camera3d.ts:28
Viewport height in pixels — the surface the camera draws into.
viewportW
Section titled “viewportW”viewportW:
number
Defined in: src/modules/camera-3d/camera3d.ts:30
Viewport width in pixels.