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

    Interface PerspectiveOptions

    Configuration options for perspective projection.

    interface PerspectiveOptions {
        aspect?: number;
        far?: number;
        fov?: number;
        near?: number;
    }
    Index

    Properties

    Properties

    aspect?: number

    Aspect ratio (width / height). Defaults to 1.

    far?: number

    Far plane distance. Defaults to 1000.

    fov?: number

    Field of view in radians. Defaults to 75 degrees.

    near?: number

    Near plane distance. Defaults to 0.1.