| Package | away3d.events |
| Class | public class MouseEvent3D |
| Inheritance | MouseEvent3D flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| altKey : Boolean
Indicates whether the Alt key is active (true) or inactive (false). | MouseEvent3D | ||
| ctrlKey : Boolean
Indicates whether the Control key is active (true) or inactive (false). | MouseEvent3D | ||
| delta : int
Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel. | MouseEvent3D | ||
| localX : Number
The x-coordinate in object space where the event took place
| MouseEvent3D | ||
| localY : Number
The y-coordinate in object space where the event took place
| MouseEvent3D | ||
| localZ : Number
The z-coordinate in object space where the event took place
| MouseEvent3D | ||
| material : MaterialBase
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 | ||
| renderable : IRenderable
The renderable inside which the event took place. | 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 | ||
| uv : Point
The uv coordinate inside the draw primitive where the event took place. | MouseEvent3D | ||
| view : View3D
The view object inside which the event took place. | MouseEvent3D | ||
| Method | Defined By | ||
|---|---|---|---|
MouseEvent3D(type:String)
Create 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 | ||
| Constant | Defined By | ||
|---|---|---|---|
| CLICK : String = click3d [static]
Defines the value of the type property of a click3d event object. | MouseEvent3D | ||
| DOUBLE_CLICK : String = doubleClick3d [static]
Defines the value of the type property of a doubleClick3d event object. | MouseEvent3D | ||
| 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 | ||
| MOUSE_WHEEL : String = mouseWheel3d [static]
Defines the value of the type property of a mouseWheel3d event object. | MouseEvent3D | ||
| altKey | property |
public var altKey:BooleanIndicates whether the Alt key is active (true) or inactive (false).
| ctrlKey | property |
public var ctrlKey:BooleanIndicates whether the Control key is active (true) or inactive (false).
| delta | property |
public var delta:intIndicates how many lines should be scrolled for each unit the user rotates the mouse wheel.
| localX | property |
public var localX:NumberThe x-coordinate in object space where the event took place
| localY | property |
public var localY:NumberThe y-coordinate in object space where the event took place
| localZ | property |
public var localZ:NumberThe z-coordinate in object space where the event took place
| material | property |
public var material:MaterialBaseThe material of the 3d element inside which the event took place.
| object | property |
public var object:Object3DThe 3d object inside which the event took place.
| renderable | property |
public var renderable:IRenderableThe renderable inside which the event took place.
| screenX | property |
public var screenX:NumberThe horizontal coordinate at which the event occurred in view coordinates.
| screenY | property |
public var screenY:NumberThe vertical coordinate at which the event occurred in view coordinates.
| shiftKey | property |
public var shiftKey:BooleanIndicates whether the Shift key is active (true) or inactive (false).
| uv | property |
public var uv:PointThe uv coordinate inside the draw primitive where the event took place.
| view | property |
public var view:View3DThe view object inside which the event took place.
| MouseEvent3D | () | Constructor |
public function MouseEvent3D(type:String)Create a new MouseEvent3D object.
Parameterstype:String — The type of the MouseEvent3D.
|
| clone | () | method |
override public function clone():EventCreates a copy of the MouseEvent3D object and sets the value of each property to match that of the original.
ReturnsEvent |
| CLICK | Constant |
public static const CLICK:String = click3dDefines the value of the type property of a click3d event object.
| DOUBLE_CLICK | Constant |
public static const DOUBLE_CLICK:String = doubleClick3dDefines the value of the type property of a doubleClick3d event object.
| MOUSE_DOWN | Constant |
public static const MOUSE_DOWN:String = mouseDown3dDefines the value of the type property of a mouseDown3d event object.
| MOUSE_MOVE | Constant |
public static const MOUSE_MOVE:String = mouseMove3dDefines the value of the type property of a mouseMove3d event object.
| MOUSE_OUT | Constant |
public static const MOUSE_OUT:String = mouseOut3dDefines the value of the type property of a mouseOut3d event object.
| MOUSE_OVER | Constant |
public static const MOUSE_OVER:String = mouseOver3dDefines the value of the type property of a mouseOver3d event object.
| MOUSE_UP | Constant |
public static const MOUSE_UP:String = mouseUp3dDefines the value of the type property of a mouseUp3d event object.
| MOUSE_WHEEL | Constant |
public static const MOUSE_WHEEL:String = mouseWheel3dDefines the value of the type property of a mouseWheel3d event object.