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

    Interface ProjectionOptions

    Projection-specific startup parameters. Passed through EngineOptions and consumed by each projection's fromConfig factory.

    interface ProjectionOptions {
        far?: number;
        fov?: number;
        near?: number;
        orthoSize?: number;
    }
    Index

    Properties

    far?: number

    Far clip plane distance. Defaults to 1000.

    fov?: number

    Field of view in radians (Perspective only). Defaults to 75°.

    near?: number

    Near clip plane distance. Defaults to 0.1.

    orthoSize?: number

    Half-height of the orthographic/oblique view volume. Defaults to 10.