ReadonlyidThe unique controller id.
ReadonlyscopeA scene name, if present activates the controller only while the scene is active. If no scope is defined the controller is active regardless of the active scene.
Invoked once per frame, depending on scope.
the elapsed time in milliseconds
the current scene
Defines a controller. Controllers are non-renderable objects who's update() method is invoked once per frame. A controller can run either for all scopes or in the scope of a scene. If a scope is defined, the Controller.update() is invoked only if the ActiveScene.Name matches the scope.