mathue
    Preparing search index...

    Type Alias ProjectionOptions

    Options for generating a projection matrix.

    type ProjectionOptions = {
        depthZeroToOne?: boolean;
    }
    Index

    Properties

    Properties

    depthZeroToOne?: boolean

    Determines the normalized device coordinate (NDC) Z range for the clip planes. [1, 2]

    • false (default): Corresponds to a Z range of [-1, 1], which matches the clip volume requirements for WebGL and OpenGL. [1]
    • true: Corresponds to a Z range of ****, which matches the clip volume requirements for modern APIs such as WebGPU, Vulkan, DirectX, and Metal. [2]
    false