LODManager

Available in: Interface Scripts Client Entity Scripts

The LOD class manages your Level of Detail functions within Interface.
Methods

Signals

Properties:
Name Type Description
presentTime number Read-only.
engineRunTime number Read-only.
gpuTime number Read-only.
avgRenderTime number Read-only.
fps number Read-only.
lodLevel number Read-only.
lodDecreaseFPS number Read-only.
lodIncreaseFPS number Read-only.

Methods

getAutomaticLODAdjust() → {boolean}
Returns:
Type: boolean
getBoundaryLevelAdjust() → {number}
Returns:
Type: number
getDesktopLODDecreaseFPS() → {number}
Returns:
Type: number
getDesktopLODIncreaseFPS() → {number}
Returns:
Type: number
getHMDLODDecreaseFPS() → {number}
Returns:
Type: number
getHMDLODIncreaseFPS() → {number}
Returns:
Type: number
getLODDecreaseFPS() → {number}
Returns:
Type: number
getLODFeedbackText() → {string}
Returns:
Type: string
getLODIncreaseFPS() → {number}
Returns:
Type: number
getOctreeSizeScale() → {number}
Returns:
Type: number
setAutomaticLODAdjust(value)
Parameters:
Name Type Description
value boolean
setBoundaryLevelAdjust(boundaryLevelAdjust)
Parameters:
Name Type Description
boundaryLevelAdjust number
setDesktopLODDecreaseFPS(value)
Parameters:
Name Type Description
value number
setHMDLODDecreaseFPS(value)
Parameters:
Name Type Description
value number
setOctreeSizeScale(sizeScale)
Parameters:
Name Type Description
sizeScale number

Signals

LODDecreased() → {Signal}
Returns:
Type: Signal
LODIncreased() → {Signal}
Returns:
Type: Signal