Controller

Home

Controller is an abstract class that provides a template and common platform for different Urbject Controllers in Urchin.

See also: DefaultCameraController, FocalPointController, Urbject

Constructors

Controller( type: number ): Controller Initializes with the given type constant. Controller types are listed below under "Constants" and are handled by children classes.

Constants

Controller.EMPTY = 0 A non-explicit value for the default controller type.
Controller.DEFAULT_CAMERA = 1 A non-explicit value for the DefaultCameraController type. See also: DefaultCameraController
Controller.FOCAL_POINT = 2 A non-explicit value for the FocalPointController type. See also: FocalPointController

Functions

Public Functions

move(target: any): void Abstract function that all controller classes should override.

Home

Copyright © 2020 Trevor Richard