Type Alias: PerspectiveLens
type PerspectiveLens = {
fovy: Float;
nearPlane: Float;
farPlane: Float;
offset: Vec2;
};
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:604
A lens that applies a perspective projection.
Properties
fovy
fovy: Float;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:609
Field of view angle in the y direction.
Default Value
60;
nearPlane
nearPlane: Float;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:614
Distance from the viewer to the near clipping plane.
Default Value
0.01;
farPlane
farPlane: Float;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:619
Distance from the viewer to the far clipping plane.
Default Value
0;
offset
offset: Vec2;
Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:624
Offset of the projection for stereoscopic rendering.
Default Value
(0, 0);