rapid-render
    Preparing search index...

    Interface ILightRenderOptions

    Interface for light rendering options

    interface ILightRenderOptions {
        baseProjectionLength?: number;
        lightSource: Vec2;
        occlusion: Vec2[][];
        type?: MaskType;
    }
    Index

    Properties

    baseProjectionLength?: number

    Base projection length that controls shadow length

    lightSource: Vec2

    Position of the light source

    occlusion: Vec2[][]

    Array of vertex arrays for occlusion objects, each occlusion object is defined by a set of vertices

    type?: MaskType

    Type of mask to apply