Packageaway3dlite.events
Classpublic class MouseEvent3D
InheritanceMouseEvent3D Inheritance flash.events.Event

Passed as a parameter when a 3d mouse event occurs



Public Properties
 PropertyDefined By
  ctrlKey : Boolean
Indicates whether the Control key is active (true) or inactive (false).
MouseEvent3D
  material : Material
The material of the 3d element inside which the event took place.
MouseEvent3D
  object : Object3D
The 3d object inside which the event took place.
MouseEvent3D
  scenePosition : Vector3D
The xyz coordinate at which the event occurred in global scene coordinates.
MouseEvent3D
  screenX : Number
The horizontal coordinate at which the event occurred in view coordinates.
MouseEvent3D
  screenY : Number
The vertical coordinate at which the event occurred in view coordinates.
MouseEvent3D
  shiftKey : Boolean
Indicates whether the Shift key is active (true) or inactive (false).
MouseEvent3D
  uvt : Vector3D
The uvt coordinate inside the triangle where the event took place.
MouseEvent3D
  view : View3D
The view object inside which the event took place.
MouseEvent3D
Public Methods
 MethodDefined By
  
MouseEvent3D(type:String)
Creates a new MouseEvent3D object.
MouseEvent3D
  
clone():Event
[override] Creates a copy of the MouseEvent3D object and sets the value of each property to match that of the original.
MouseEvent3D
Public Constants
 ConstantDefined By
  MOUSE_DOWN : String = mouseDown3d
[static] Defines the value of the type property of a mouseDown3d event object.
MouseEvent3D
  MOUSE_MOVE : String = mouseMove3d
[static] Defines the value of the type property of a mouseMove3d event object.
MouseEvent3D
  MOUSE_OUT : String = mouseOut3d
[static] Defines the value of the type property of a mouseOut3d event object.
MouseEvent3D
  MOUSE_OVER : String = mouseOver3d
[static] Defines the value of the type property of a mouseOver3d event object.
MouseEvent3D
  MOUSE_UP : String = mouseUp3d
[static] Defines the value of the type property of a mouseUp3d event object.
MouseEvent3D
  ROLL_OUT : String = rollOut3d
[static] Defines the value of the type property of a rollOut3d event object.
MouseEvent3D
  ROLL_OVER : String = rollOver3d
[static] Defines the value of the type property of a rollOver3d event object.
MouseEvent3D
Property Detail
ctrlKeyproperty
public var ctrlKey:Boolean

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

materialproperty 
public var material:Material

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

objectproperty 
public var object:Object3D

The 3d object inside which the event took place.

scenePositionproperty 
public var scenePosition:Vector3D

The xyz coordinate at which the event occurred in global scene coordinates.

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

uvtproperty 
public var uvt:Vector3D

The uvt coordinate inside the triangle where the event took place.

viewproperty 
public var view:View3D

The view object inside which the event took place.

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

Creates a new MouseEvent3D object.

Parameters
type:String — The type of the event. Possible values are: MouseEvent3D.MOUSE_OVER, MouseEvent3D.MOUSE_OUT, MouseEvent3D.ROLL_OVER, MouseEvent3D.ROLL_OUT, MouseEvent3D.MOUSE_UP, MouseEvent3D.MOUSE_DOWN and MouseEvent3D.MOUSE_MOVE.
####INIT####
Method Detail
clone()method
override public function clone():Event

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

Returns
Event
Constant Detail
MOUSE_DOWNConstant
public static const MOUSE_DOWN:String = mouseDown3d

Defines the value of the type property of a mouseDown3d event object.

MOUSE_MOVEConstant 
public static const MOUSE_MOVE:String = mouseMove3d

Defines the value of the type property of a mouseMove3d event object.

MOUSE_OUTConstant 
public static const MOUSE_OUT:String = mouseOut3d

Defines the value of the type property of a mouseOut3d event object.

MOUSE_OVERConstant 
public static const MOUSE_OVER:String = mouseOver3d

Defines the value of the type property of a mouseOver3d event object.

MOUSE_UPConstant 
public static const MOUSE_UP:String = mouseUp3d

Defines the value of the type property of a mouseUp3d event object.

ROLL_OUTConstant 
public static const ROLL_OUT:String = rollOut3d

Defines the value of the type property of a rollOut3d event object.

ROLL_OVERConstant 
public static const ROLL_OVER:String = rollOver3d

Defines the value of the type property of a rollOver3d event object.