HTML5 Canvas 3D WebGL (TM) js Library
 

useController Library Method

Short Description: Activates a given controller

Signature: taccgl.useController (c)
Class: taccgl Class
 

Activates the controller passed as parameter c. First the currently active controller is deactivated and then c is activated. The controller must have been created with forwardingController or blockingController. Please read Controller Class about the purpose of controllers in general. See the mentioned creator functions for examples.

You can create and customize multiple controllers and activate them any time as desired.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccgl.blockingController - Creates a basic blocking controller
Previous Page: taccgl.ddmode - Returns if 2D or 3D canvas is used