Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::Framerate Class Reference

Controls the rendering framerate. Use this to turn on "Green Mode", which renders less frequently and reduced performance requirements and power consumption. More...

Public Member Functions

void setGreenModeCruiseFramerate (double framesPerSecond)
 
void setGreenModeIdleFramerate (double framesPerSecond)
 
void setFullFramerate (double framesPerSecond)
 
void setCameraMovementForcesUpdatesAtFullFramerate (bool updateSceneOnCameraMotion)
 
void temporaryFullThrottle (double seconds)
 
void setGreenMode (bool bGreenMode)
 
void forceDrawSingleFrame ()
 
void forceDrawSingleFrameAtFullFramerate ()
 
void forceDrawSingleFrameAtCruiseFramerate ()
 

Detailed Description

Controls the rendering framerate. Use this to turn on "Green Mode", which renders less frequently and reduced performance requirements and power consumption.

Member Function Documentation

void AltusUnified::Framerate::forceDrawSingleFrame ( )
void AltusUnified::Framerate::forceDrawSingleFrameAtCruiseFramerate ( )
void AltusUnified::Framerate::forceDrawSingleFrameAtFullFramerate ( )
void AltusUnified::Framerate::setCameraMovementForcesUpdatesAtFullFramerate ( bool  updateSceneOnCameraMotion)
void AltusUnified::Framerate::setFullFramerate ( double  framesPerSecond)
void AltusUnified::Framerate::setGreenMode ( bool  bGreenMode)
void AltusUnified::Framerate::setGreenModeCruiseFramerate ( double  framesPerSecond)
void AltusUnified::Framerate::setGreenModeIdleFramerate ( double  framesPerSecond)
void AltusUnified::Framerate::temporaryFullThrottle ( double  seconds)