API

Interface ObjectRendererOptions

Defines the options of the object renderer

interface ObjectRendererOptions {
    doNotChangeAspectRatio?: boolean;
    enableClusteredLights?: boolean;
    numPasses?: number;
}
Index
doNotChangeAspectRatio?: boolean

True (default) to not change the aspect ratio of the scene in the RTT

enableClusteredLights?: boolean

True to enable clustered lights (default: false)

numPasses?: number

The number of passes the renderer will support (1 by default)