Packageaway3d.events
Classpublic class TouchEvent3D
InheritanceTouchEvent3D Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  altKey : Boolean
Indicates whether the Alt key is active (true) or inactive (false).
TouchEvent3D
  bubbles : Boolean
[override] [read-only]
TouchEvent3D
  ctrlKey : Boolean
Indicates whether the Control key is active (true) or inactive (false).
TouchEvent3D
  index : uint
The index of the face where the event took place.
TouchEvent3D
  localNormal : Vector3D
The normal in object space where the event took place
TouchEvent3D
  localPosition : Vector3D
The position in object space where the event took place
TouchEvent3D
  material : MaterialBase
The material of the 3d element inside which the event took place.
TouchEvent3D
  object : ObjectContainer3D
The 3d object inside which the event took place.
TouchEvent3D
  renderable : IRenderable
The renderable inside which the event took place.
TouchEvent3D
  sceneNormal : Vector3D
[read-only] The normal in scene space where the event took place
TouchEvent3D
  scenePosition : Vector3D
[read-only] The position in scene space where the event took place
TouchEvent3D
  screenX : Number
The horizontal coordinate at which the event occurred in view coordinates.
TouchEvent3D
  screenY : Number
The vertical coordinate at which the event occurred in view coordinates.
TouchEvent3D
  shiftKey : Boolean
Indicates whether the Shift key is active (true) or inactive (false).
TouchEvent3D
  subGeometryIndex : uint
The index of the subGeometry where the event took place.
TouchEvent3D
  touchPointID : int
TouchEvent3D
  uv : Point
The uv coordinate inside the draw primitive where the event took place.
TouchEvent3D
  view : View3D
The view object inside which the event took place.
TouchEvent3D
Public Methods
 MethodDefined By
  
TouchEvent3D(type:String)
Create a new TouchEvent3D object.
TouchEvent3D
  
clone():Event
[override] Creates a copy of the TouchEvent3D object and sets the value of each property to match that of the original.
TouchEvent3D
  
[override]
TouchEvent3D
  
[override]
TouchEvent3D
Public Constants
 ConstantDefined By
  TOUCH_BEGIN : String = touchBegin3d
[static]
TouchEvent3D
  TOUCH_END : String = touchEnd3d
[static]
TouchEvent3D
  TOUCH_MOVE : String = touchMove3d
[static]
TouchEvent3D
  TOUCH_OUT : String = touchOut3d
[static]
TouchEvent3D
  TOUCH_OVER : String = touchOver3d
[static]
TouchEvent3D
Property Detail
_allowedToPropagateproperty
arcane var _allowedToPropagate:Boolean = true

_parentEventproperty 
arcane var _parentEvent:TouchEvent3D

altKeyproperty 
public var altKey:Boolean

Indicates whether the Alt key is active (true) or inactive (false).

bubblesproperty 
bubbles:Boolean  [read-only] [override]


Implementation
    public function get bubbles():Boolean
ctrlKeyproperty 
public var ctrlKey:Boolean

Indicates whether the Control key is active (true) or inactive (false).

indexproperty 
public var index:uint

The index of the face where the event took place.

localNormalproperty 
public var localNormal:Vector3D

The normal in object space where the event took place

localPositionproperty 
public var localPosition:Vector3D

The position in object space where the event took place

materialproperty 
public var material:MaterialBase

The material of the 3d element inside which the event took place.

objectproperty 
public var object:ObjectContainer3D

The 3d object inside which the event took place.

renderableproperty 
public var renderable:IRenderable

The renderable inside which the event took place.

sceneNormalproperty 
sceneNormal:Vector3D  [read-only]

The normal in scene space where the event took place


Implementation
    public function get sceneNormal():Vector3D
scenePositionproperty 
scenePosition:Vector3D  [read-only]

The position in scene space where the event took place


Implementation
    public function get scenePosition():Vector3D
screenXproperty 
public var screenX:Number

The horizontal coordinate at which the event occurred in view coordinates.

screenYproperty 
public var screenY:Number

The vertical coordinate at which the event occurred in view coordinates.

shiftKeyproperty 
public var shiftKey:Boolean

Indicates whether the Shift key is active (true) or inactive (false).

subGeometryIndexproperty 
public var subGeometryIndex:uint

The index of the subGeometry where the event took place.

touchPointIDproperty 
public var touchPointID:int

uvproperty 
public var uv:Point

The uv coordinate inside the draw primitive where the event took place.

viewproperty 
public var view:View3D

The view object inside which the event took place.

Constructor Detail
TouchEvent3D()Constructor
public function TouchEvent3D(type:String)

Create a new TouchEvent3D object.

Parameters
type:String — The type of the TouchEvent3D.
Method Detail
clone()method
override public function clone():Event

Creates a copy of the TouchEvent3D object and sets the value of each property to match that of the original.

Returns
Event
stopImmediatePropagation()method 
override public function stopImmediatePropagation():void

stopPropagation()method 
override public function stopPropagation():void

Constant Detail
TOUCH_BEGINConstant
public static const TOUCH_BEGIN:String = touchBegin3d

TOUCH_ENDConstant 
public static const TOUCH_END:String = touchEnd3d

TOUCH_MOVEConstant 
public static const TOUCH_MOVE:String = touchMove3d

TOUCH_OUTConstant 
public static const TOUCH_OUT:String = touchOut3d

TOUCH_OVERConstant 
public static const TOUCH_OVER:String = touchOver3d