Packagecom.gestureworks.core
Classpublic class GestureWorksCore
InheritanceGestureWorksCore Inheritance flash.display.Sprite
Subclasses GestureWorks



Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined By
  initialized : Boolean = false
Returns whether gestureworks has initialized.
GestureWorksCore
  _supportsTouch : Boolean
[static] Returns whether your device currently has touch support available.
GestureWorksCore
Public Methods
 MethodDefined By
  
GestureWorksCore
Protected Methods
 MethodDefined By
  
GestureWorksCore
  
Updates event listeners depending on the active modes
GestureWorksCore
Property Detail
_supportsTouchproperty
protected static var _supportsTouch:Boolean

Returns whether your device currently has touch support available.

autoproperty 
auto:Boolean

Attempts 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.


Implementation
    public function get auto():Boolean
    public function set auto(value:Boolean):void
cmlproperty 
cml:String

Sets cml file path. Path is relevant to application.


Implementation
    public function get cml():String
    public function set cml(value:String):void
fullscreenproperty 
fullscreen:Boolean

Sets the application to fullscreen

The default value is false.


Implementation
    public function get fullscreen():Boolean
    public function set fullscreen(value:Boolean):void
gmlproperty 
gml:String

Sets gml file path. Path is relevant to application.


Implementation
    public function get gml():String
    public function set gml(value:String):void
initializedproperty 
protected var initialized:Boolean = false

Returns whether gestureworks has initialized.

keyproperty 
key:String
Deprecated: Please Use none

Deprecated: No longer requires a key.


Implementation
    public function get key():String
    public function set key(value:String):void
leap2Dproperty 
leap2D:Boolean

Turns leap 2D motion input on

The default value is false.


Implementation
    public function get leap2D():Boolean
    public function set leap2D(value:Boolean):void
leap3Dproperty 
leap3D:Boolean

Turns leap 3D motion input on

The default value is false.


Implementation
    public function get leap3D():Boolean
    public function set leap3D(value:Boolean):void
motionproperty 
motion:Boolean

Turns motion input on.Currently only supports Leap

The default value is false.


Implementation
    public function get motion():Boolean
    public function set motion(value:Boolean):void
nativeTouchproperty 
nativeTouch:Boolean

Overrides native touch input

The default value is true.


Implementation
    public function get nativeTouch():Boolean
    public function set nativeTouch(value:Boolean):void
sensorproperty 
sensor:Boolean

Turns sensor input on. Currently only supports Accelerometer in Air.

The default value is false.


Implementation
    public function get sensor():Boolean
    public function set sensor(value:Boolean):void
simulatorproperty 
simulator:Boolean

Turns on the mouse simulator.

The default value is false.


Implementation
    public function get simulator():Boolean
    public function set simulator(value:Boolean):void
starlingproperty 
starling:Boolean

Prepares input configuration for Starling

The default value is false.


Implementation
    public function get starling():Boolean
    public function set starling(value:Boolean):void
tuioproperty 
tuio:Boolean

Turns TUIO input on. Currently only supported in AIR.

The default value is false.


Implementation
    public function get tuio():Boolean
    public function set tuio(value:Boolean):void
Constructor Detail
GestureWorksCore()Constructor
public function GestureWorksCore()



Method Detail
gestureworksInit()method
protected function gestureworksInit():void

updateTouchObjects()method 
protected function updateTouchObjects():void

Updates event listeners depending on the active modes