Perspective Lens

perspective_lens

A lens that applies a perspective projection.

Dependencies

Attributes

AttributeTypeDefaultDescription
aspectRatiofloat1.777Aspect ratio of the viewport, usually equals width/height.
fovyfloat60Field of view angle in the y direction.
nearPlanefloat0.01Distance from the viewer to the near clipping plane.
farPlanefloat0Distance from the viewer to the far clipping plane.