LODManager

Description

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

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts

Properties

Name Type Summary
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

Name Return Value Summary
getAutomaticLODAdjust boolean
getBoundaryLevelAdjust number
getDesktopLODTargetFPS number
getHMDLODTargetFPS number
getLODFeedbackText string
getLODTargetFPS number
getOctreeSizeScale number
setAutomaticLODAdjust None
setBoundaryLevelAdjust None
setDesktopLODTargetFPS None
setHMDLODTargetFPS None
setOctreeSizeScale None

Signals

Name Summary
LODDecreased
LODIncreased

Method Details

(static) getAutomaticLODAdjust( ) → {boolean}
Returns: boolean

(static) getBoundaryLevelAdjust( ) → {number}
Returns: number

(static) getDesktopLODTargetFPS( ) → {number}
Returns: number

(static) getHMDLODTargetFPS( ) → {number}
Returns: number

(static) getLODFeedbackText( ) → {string}
Returns: string

(static) getLODTargetFPS( ) → {number}
Returns: number

(static) getOctreeSizeScale( ) → {number}
Returns: number

(static) setAutomaticLODAdjust( value )

Parameters

Name Type Description
value boolean
(static) setBoundaryLevelAdjust( boundaryLevelAdjust )

Parameters

Name Type Description
boundaryLevelAdjust number
(static) setDesktopLODTargetFPS( value )

Parameters

Name Type Description
value number
(static) setHMDLODTargetFPS( value )

Parameters

Name Type Description
value number
(static) setOctreeSizeScale( sizeScale )

Parameters

Name Type Description
sizeScale number

Signal Details

LODDecreased( )
Returns: Signal

 

LODIncreased( )
Returns: Signal