| Package | com.gestureworks.core |
| Class | public class GestureWorksCore |
| Inheritance | GestureWorksCore flash.display.Sprite |
| Subclasses | GestureWorks |
| Property | Defined By | ||
|---|---|---|---|
| auto : Boolean
Attempts to auto-select input type. | GestureWorksCore | ||
| cml : String
Sets cml file path. | GestureWorksCore | ||
| fullscreen : Boolean
Sets the application to fullscreen
| GestureWorksCore | ||
| gml : String
Sets gml file path. | GestureWorksCore | ||
| key : String Deprecated: Please Use none
Deprecated: No longer requires a key. | GestureWorksCore | ||
| leap2D : Boolean
Turns leap 2D motion input on
| GestureWorksCore | ||
| leap3D : Boolean
Turns leap 3D motion input on
| GestureWorksCore | ||
| motion : Boolean
Turns motion input on.Currently only supports Leap
| GestureWorksCore | ||
| nativeTouch : Boolean
Overrides native touch input
| GestureWorksCore | ||
| sensor : Boolean
Turns sensor input on. | GestureWorksCore | ||
| simulator : Boolean
Turns on the mouse simulator. | GestureWorksCore | ||
| starling : Boolean
Prepares input configuration for Starling
| GestureWorksCore | ||
| tuio : Boolean
Turns TUIO input on. | GestureWorksCore | ||
| Property | Defined By | ||
|---|---|---|---|
| initialized : Boolean = false
Returns whether gestureworks has initialized. | GestureWorksCore | ||
| _supportsTouch : Boolean [static]
Returns whether your device currently has touch support available. | GestureWorksCore | ||
| Method | Defined By | ||
|---|---|---|---|
| GestureWorksCore | |||
| Method | Defined By | ||
|---|---|---|---|
gestureworksInit():void | GestureWorksCore | ||
updateTouchObjects():void
Updates event listeners depending on the active modes
| GestureWorksCore | ||
| _supportsTouch | property |
protected static var _supportsTouch:BooleanReturns whether your device currently has touch support available.
| auto | property |
auto:BooleanAttempts to auto-select input type. Used to revert to the mouse simulator when a touch device can not be found.
The default value is false.
public function get auto():Boolean public function set auto(value:Boolean):void| cml | property |
cml:StringSets cml file path. Path is relevant to application.
public function get cml():String public function set cml(value:String):void| fullscreen | property |
fullscreen:BooleanSets the application to fullscreen
The default value is false.
public function get fullscreen():Boolean public function set fullscreen(value:Boolean):void| gml | property |
gml:StringSets gml file path. Path is relevant to application.
public function get gml():String public function set gml(value:String):void| initialized | property |
protected var initialized:Boolean = falseReturns whether gestureworks has initialized.
| key | property |
key:StringDeprecated: No longer requires a key.
public function get key():String public function set key(value:String):void| leap2D | property |
leap2D:BooleanTurns leap 2D motion input on
The default value is false.
public function get leap2D():Boolean public function set leap2D(value:Boolean):void| leap3D | property |
leap3D:BooleanTurns leap 3D motion input on
The default value is false.
public function get leap3D():Boolean public function set leap3D(value:Boolean):void| motion | property |
motion:BooleanTurns motion input on.Currently only supports Leap
The default value is false.
public function get motion():Boolean public function set motion(value:Boolean):void| nativeTouch | property |
nativeTouch:BooleanOverrides native touch input
The default value is true.
public function get nativeTouch():Boolean public function set nativeTouch(value:Boolean):void| sensor | property |
sensor:BooleanTurns sensor input on. Currently only supports Accelerometer in Air.
The default value is false.
public function get sensor():Boolean public function set sensor(value:Boolean):void| simulator | property |
simulator:BooleanTurns on the mouse simulator.
The default value is false.
public function get simulator():Boolean public function set simulator(value:Boolean):void| starling | property |
starling:BooleanPrepares input configuration for Starling
The default value is false.
public function get starling():Boolean public function set starling(value:Boolean):void| tuio | property |
tuio:BooleanTurns TUIO input on. Currently only supported in AIR.
The default value is false.
public function get tuio():Boolean public function set tuio(value:Boolean):void| GestureWorksCore | () | Constructor |
public function GestureWorksCore()| gestureworksInit | () | method |
protected function gestureworksInit():void| updateTouchObjects | () | method |
protected function updateTouchObjects():voidUpdates event listeners depending on the active modes