new AmbientController()

Members


latitudeVariance :number

Description
Amount of variation in the latitude of ambient motion, in degrees

latitudeSpeed :number

Description
Ambient speed of latitude movement

longitudeSpeed :number

Description
Ambient speed of longitude movement

isEnabled :boolean

Description
Is ambient movement enabled?

<package> ambientStrength :number

Description
Strength of ambient effect

isPaused :boolean

Description
Is the ambient controller paused

Methods


<package> register( ambientController, animationController, movementModel )

Description
Registers ambient, animation, and movement controllers for use
Parameters
Name Type Description
ambientController AmbientController ambient controller
animationController AnimationController animation controller
movementModel MovementModel interaction controller

pauseMotion()

Description
Immediately pauses ambient motion

pauseMotionAnimated( options )

Description
Pauses ambient motion, with animation
Parameters
Name Type Description
options AmbientControllerAnimationOptions

resumeMotion()

Description
Immediately resumes ambient motion

resumeMotionAnimated( options )

Description
Resumes ambient motion, with animation
Parameters
Name Type Description
options AmbientControllerAnimationOptions