Controller is an abstract class that provides a template and common platform for different Urbject Controllers in Urchin.
| Controller( type: number ): Controller | Initializes with the given type constant. Controller types are listed below under "Constants" and are handled by children classes. |
|---|
| Controller.EMPTY = 0 | A non-explicit value for the default controller type. |
|---|---|
| Controller.DEFAULT_CAMERA = 1 | A non-explicit value for the DefaultCameraController type. |
| Controller.FOCAL_POINT = 2 | A non-explicit value for the FocalPointController type. |
| move(target: any): void | Abstract function that all controller classes should override. |
|---|
Copyright © 2020 Trevor Richard