This class initializes TUIO. Declare tuio="true" in the main class or as an attribute in the CML root tag.
TUIO currently only works in AIR, and the following import statement is required: import com.gestureworks.core.GestureWorksAIR; GestureWorksAIR;
This statement loads the neccesary GestureWorks AIR exclusive classes.
gwTUIOMngr:TUIOManager
[read-only]
Implementation public static function get gwTUIOMngr():TUIOManager
overlays:Vector.<ITouchObject>
Registers global overlays to receive point data for TUIO input
Implementation public static function get overlays():Vector.<ITouchObject>
public static function set overlays(value:Vector.<ITouchObject>):void
tuioClient:TuioClient
[read-only]
Implementation public function get tuioClient():TuioClient
tuioDebug:TuioDebug
[read-only]
Implementation public function get tuioDebug():TuioDebug
tuioManager:*
[read-only]
Implementation public function get tuioManager():*
public function TUIOManager(air:Boolean = true, host:String = 127.0.0.1, port:int, protocol:String = null)
Constructor
Parameters | air:Boolean (default = true ) — Flag indicating AIR runtime or flash
|
|
| host:String (default = 127.0.0.1 ) — The id of the tracker or bridge
|
|
| port:int (default = NaN ) — The port on which the tracker or bridge sends the TUIO tracking data.
|
|
| protocol:String (default = null ) — The name of the protocol (udp, tcp, or flosc)
|
gw_public static function deInitialize():void
gw_public static function initialize(host:String = 127.0.0.1, port:int, protocol:String = null):void
Parameters
| host:String (default = 127.0.0.1 )
|
|
| port:int (default = NaN )
|
|
| protocol:String (default = null )
|
Wed Mar 12 2014, 12:06 PM -06:00