Small World Engine API Reference - v0.46.1
    Preparing search index...

    Class PerspectiveProjection

    Perspective camera projection for 3D views.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _matrix: Matrix4 = ...

    The projection matrix.

    aspect: number

    Aspect ratio (width / height).

    far: number

    Far clip plane.

    fov: number

    Field of view in radians.

    near: number

    Near clip plane.

    type: ProjectionType = ProjectionType.PERSPECTIVE

    The type of the projection.

    Methods