Packagetwaver.threed.event
Classpublic class Mouse3DEvent
InheritanceMouse3DEvent Inheritance flash.events.Event

A Mouse3DEvent object is dispatched when a mouse event occurs in a 3D scene.



Public Properties
 PropertyDefined By
  ctrlDonw : Boolean
Indicates whether the crtl key is active or inactive.
Mouse3DEvent
  shiftDown : Boolean
Indicates whether the shift key is active or inactive.
Mouse3DEvent
  source : Object
Specifies the 3D element over which the mouse event occurs.
Mouse3DEvent
  sourceChild : *
Mouse3DEvent
  _timestamp : Number
Mouse3DEvent
  UV : Point
[read-only]
Mouse3DEvent
  viewPosition : Vector3D
[read-only]
Mouse3DEvent
Public Methods
 MethodDefined By
  
Mouse3DEvent(type:String, screenCoordinate:Vector3D, viewCoordinate:Vector3D, uv:Point)
Construct function of Mouse3DEvent class
Mouse3DEvent
Public Constants
 ConstantDefined By
  MOUSE_CLICK_ON_CANVAS : String = mouse.click.canvas
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is clicked on the canvas of the 3D scene.
Mouse3DEvent
  MOUSE_CLICK_ON_ELEMENT : String = mouse.click.element
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is clicked on a 3D object in the scene.
Mouse3DEvent
  MOUSE_DONW_ELEMENT : String = mouse.down.element
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is pressed down over a 3D object in the scene.
Mouse3DEvent
  MOUSE_DOUBLECLICK_ON_CANVAS : String = mouse.doubleclick.canvas
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is double-clicked on the canvas of the 3D scene.
Mouse3DEvent
  MOUSE_DOUBLECLICK_ON_ELEMENT : String = mouse.doubleclick.element
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is double-clicked on a 3D object in the scene.
Mouse3DEvent
  MOUSE_OUT_ELEMENT : String = mouse.out.element
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is moved out of a 3D object in the scene.
Mouse3DEvent
  MOUSE_OVER_ELEMENT : String = mouse.over.element
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is over a 3D object in the scene.
Mouse3DEvent
  MOUSE_UP_ELEMENT : String = mouse.up.element
[static] Defines the value of the type property of a Mouse3DEvent object when the mouse is lifted up above a 3D object in the scene.
Mouse3DEvent
Property Detail
_timestampproperty
public var _timestamp:Number

ctrlDonwproperty 
ctrlDonw:Boolean

Indicates whether the crtl key is active or inactive.


Implementation
    public function get ctrlDonw():Boolean
    public function set ctrlDonw(value:Boolean):void
shiftDownproperty 
shiftDown:Boolean

Indicates whether the shift key is active or inactive.


Implementation
    public function get shiftDown():Boolean
    public function set shiftDown(value:Boolean):void
sourceproperty 
source:Object

Specifies the 3D element over which the mouse event occurs.


Implementation
    public function get source():Object
    public function set source(value:Object):void
sourceChildproperty 
public var sourceChild:*

UVproperty 
UV:Point  [read-only]


Implementation
    public function get UV():Point
viewPositionproperty 
viewPosition:Vector3D  [read-only]


Implementation
    public function get viewPosition():Vector3D
Constructor Detail
Mouse3DEvent()Constructor
public function Mouse3DEvent(type:String, screenCoordinate:Vector3D, viewCoordinate:Vector3D, uv:Point)

Construct function of Mouse3DEvent class

Parameters
type:String — Specififies the type of value of the Mouse3DEvent object
 
screenCoordinate:Vector3D
 
viewCoordinate:Vector3D
 
uv:Point
Constant Detail
MOUSE_CLICK_ON_CANVASConstant
public static const MOUSE_CLICK_ON_CANVAS:String = mouse.click.canvas

Defines the value of the type property of a Mouse3DEvent object when the mouse is clicked on the canvas of the 3D scene.

MOUSE_CLICK_ON_ELEMENTConstant 
public static const MOUSE_CLICK_ON_ELEMENT:String = mouse.click.element

Defines the value of the type property of a Mouse3DEvent object when the mouse is clicked on a 3D object in the scene.

MOUSE_DONW_ELEMENTConstant 
public static const MOUSE_DONW_ELEMENT:String = mouse.down.element

Defines the value of the type property of a Mouse3DEvent object when the mouse is pressed down over a 3D object in the scene.

MOUSE_DOUBLECLICK_ON_CANVASConstant 
public static const MOUSE_DOUBLECLICK_ON_CANVAS:String = mouse.doubleclick.canvas

Defines the value of the type property of a Mouse3DEvent object when the mouse is double-clicked on the canvas of the 3D scene.

MOUSE_DOUBLECLICK_ON_ELEMENTConstant 
public static const MOUSE_DOUBLECLICK_ON_ELEMENT:String = mouse.doubleclick.element

Defines the value of the type property of a Mouse3DEvent object when the mouse is double-clicked on a 3D object in the scene.

MOUSE_OUT_ELEMENTConstant 
public static const MOUSE_OUT_ELEMENT:String = mouse.out.element

Defines the value of the type property of a Mouse3DEvent object when the mouse is moved out of a 3D object in the scene.

MOUSE_OVER_ELEMENTConstant 
public static const MOUSE_OVER_ELEMENT:String = mouse.over.element

Defines the value of the type property of a Mouse3DEvent object when the mouse is over a 3D object in the scene.

MOUSE_UP_ELEMENTConstant 
public static const MOUSE_UP_ELEMENT:String = mouse.up.element

Defines the value of the type property of a Mouse3DEvent object when the mouse is lifted up above a 3D object in the scene.