Package | twaver.threed.event |
Class | public class Mouse3DEvent |
Inheritance | Mouse3DEvent ![]() |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
Mouse3DEvent(type:String, screenCoordinate:Vector3D, viewCoordinate:Vector3D, uv:Point)
Construct function of Mouse3DEvent class
| Mouse3DEvent |
Constant | Defined 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 |
_timestamp | property |
public var _timestamp:Number
ctrlDonw | property |
ctrlDonw:Boolean
Indicates whether the crtl key is active or inactive.
public function get ctrlDonw():Boolean
public function set ctrlDonw(value:Boolean):void
shiftDown | property |
shiftDown:Boolean
Indicates whether the shift key is active or inactive.
public function get shiftDown():Boolean
public function set shiftDown(value:Boolean):void
source | property |
source:Object
Specifies the 3D element over which the mouse event occurs.
public function get source():Object
public function set source(value:Object):void
sourceChild | property |
public var sourceChild:*
UV | property |
UV:Point
[read-only] public function get UV():Point
viewPosition | property |
viewPosition:Vector3D
[read-only] public function get viewPosition():Vector3D
Mouse3DEvent | () | Constructor |
public function Mouse3DEvent(type:String, screenCoordinate:Vector3D, viewCoordinate:Vector3D, uv:Point)
Construct function of Mouse3DEvent class
Parameterstype:String — Specififies the type of value of the Mouse3DEvent object
| |
screenCoordinate:Vector3D | |
viewCoordinate:Vector3D | |
uv:Point |
MOUSE_CLICK_ON_CANVAS | Constant |
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_ELEMENT | Constant |
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_ELEMENT | Constant |
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_CANVAS | Constant |
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_ELEMENT | Constant |
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_ELEMENT | Constant |
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_ELEMENT | Constant |
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_ELEMENT | Constant |
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.