Skip to main content

PerspectiveLens

@3dverse/livelink v0.8.10


@3dverse/livelink / Components / PerspectiveLens

Type Alias: PerspectiveLens

PerspectiveLens: object

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:591

A lens that applies a perspective projection.

Type declaration

aspectRatio

aspectRatio: Float

Aspect ratio of the viewport, usually equals width/height.

Default Value

1.777;

fovy

fovy: Float

Field of view angle in the y direction.

Default Value

60;

nearPlane

nearPlane: Float

Distance from the viewer to the near clipping plane.

Default Value

0.01;

farPlane

farPlane: Float

Distance from the viewer to the far clipping plane.

Default Value

0;

offset

offset: Vec2

Offset of the projection for stereoscopic rendering.

Default Value

0, 0;