| Package | alternativa.engine3d.events |
| Class | public class MouseEvent3D |
| Inheritance | MouseEvent3D flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| altKey : Boolean On Windows, indicates whether the Alt key is active (true) or inactive (false).
| MouseEvent3D | ||
| ctrlKey : Boolean On Windows, indicates whether the Ctrl 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 | ||
| face : Face
A face related to the event.
| MouseEvent3D | ||
| globalX : Number X-coordinate of an interaction point in a scene.
| MouseEvent3D | ||
| globalY : Number Y-coordinate of an interaction point in a scene.
| MouseEvent3D | ||
| globalZ : Number Z-coordinate of an interaction point in a scene.
| MouseEvent3D | ||
| localX : Number X-coordinate of an interaction point in the related object's coordinate system.
| MouseEvent3D | ||
| localY : Number Y-coordinate of an interaction point in the related object's coordinate system.
| MouseEvent3D | ||
| localZ : Number Z-coordinate of an interaction point in the related object's coordinate system.
| MouseEvent3D | ||
| object : Object3D
An object related to the event.
| MouseEvent3D | ||
| shiftKey : Boolean On Windows, indicates whether the Shift key is active (true) or inactive (false).
| MouseEvent3D | ||
| surface : Surface
An surface related to the event.
| MouseEvent3D | ||
| u : Number Texture coordinate U of an interaction point.
| MouseEvent3D | ||
| v : Number Texture coordinate V of an interaction point.
| MouseEvent3D | ||
| view : View
A view related to the event.
| MouseEvent3D | ||
| Method | Defined by | ||
|---|---|---|---|
|
MouseEvent3D(type:String, view:View, object:Object3D, surface:Surface, face:Face, globalX:Number, globalY:Number, globalZ:Number, localX:Number, localY:Number, localZ:Number, u:Number, v:Number, altKey:Boolean = false, ctrlKey:Boolean = false, shiftKey:Boolean = false, delta:int = 0)
Creates a new instance af an event object.
| MouseEvent3D | ||
|
clone():Event
Creates a clone of an event object.
| MouseEvent3D | ||
|
toString():String
String representation of an event object.
| MouseEvent3D | ||
| Constant | Defined by | ||
|---|---|---|---|
| CLICK : String = "click" [static] The value of the
type property of a click event object. | MouseEvent3D | ||
| MOUSE_DOWN : String = "mouseDown" [static] The value of the
type property of a mouseDown event object. | MouseEvent3D | ||
| MOUSE_MOVE : String = "mouseMove" [static] The value of the
type property of a mouseMove event object. | MouseEvent3D | ||
| MOUSE_OUT : String = "mouseOut" [static] The value of the
type property of a mouseOut event object. | MouseEvent3D | ||
| MOUSE_OVER : String = "mouseOver" [static] The value of the
type property of a mouseOver event object. | MouseEvent3D | ||
| MOUSE_UP : String = "mouseUp" [static] The value of the
type property of a mouseUp event object. | MouseEvent3D | ||
| MOUSE_WHEEL : String = "mouseWheel" [static] The value of the
type property of a mouseWheel event object. | MouseEvent3D | ||
| altKey | property |
public var altKey:BooleanOn Windows, indicates whether the Alt key is active (true) or inactive (false).
| ctrlKey | property |
public var ctrlKey:BooleanOn Windows, indicates whether the Ctrl 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.
| face | property |
public var face:FaceA face related to the event.
| globalX | property |
public var globalX:NumberX-coordinate of an interaction point in a scene.
| globalY | property |
public var globalY:NumberY-coordinate of an interaction point in a scene.
| globalZ | property |
public var globalZ:NumberZ-coordinate of an interaction point in a scene.
| localX | property |
public var localX:NumberX-coordinate of an interaction point in the related object's coordinate system.
| localY | property |
public var localY:NumberY-coordinate of an interaction point in the related object's coordinate system.
| localZ | property |
public var localZ:NumberZ-coordinate of an interaction point in the related object's coordinate system.
| object | property |
public var object:Object3DAn object related to the event.
| shiftKey | property |
public var shiftKey:BooleanOn Windows, indicates whether the Shift key is active (true) or inactive (false).
| surface | property |
public var surface:SurfaceAn surface related to the event.
| u | property |
public var u:NumberTexture coordinate U of an interaction point.
| v | property |
public var v:NumberTexture coordinate V of an interaction point.
| view | property |
public var view:ViewA view related to the event.
| MouseEvent3D | () | constructor |
public function MouseEvent3D(type:String, view:View, object:Object3D, surface:Surface, face:Face, globalX:Number, globalY:Number, globalZ:Number, localX:Number, localY:Number, localZ:Number, u:Number, v:Number, altKey:Boolean = false, ctrlKey:Boolean = false, shiftKey:Boolean = false, delta:int = 0)Creates a new instance af an event object.
Parameterstype:String — the type of an event |
|
view:View — a view related to the event |
|
object:Object3D — an object related to the event |
|
surface:Surface — a surface related to the event |
|
face:Face — a face related to the event |
|
globalX:Number — X-coordinate of an interaction point in a scene |
|
globalY:Number — Y-coordinate of an interaction point in a scene |
|
globalZ:Number — Z-coordinate of an interaction point in a scene |
|
localX:Number — X-coordinate of an interaction point in the related object's coordinate system |
|
localY:Number — Y-coordinate of an interaction point in the related object's coordinate system |
|
localZ:Number — Z-coordinate of an interaction point in the related object's coordinate system |
|
u:Number — texture coordinate U of an interaction point |
|
v:Number — texture coordinate V of an interaction point |
|
altKey:Boolean (default = false) |
|
ctrlKey:Boolean (default = false) |
|
shiftKey:Boolean (default = false) |
|
delta:int (default = 0) |
| clone | () | method |
public override function clone():EventCreates a clone of an event object.
ReturnsEvent — a clone of an event object |
| toString | () | method |
public override function toString():StringString representation of an event object.
ReturnsString — string object representation |
| CLICK | constant |
public static const CLICK:String = "click"The value of the type property of a click event object.
| MOUSE_DOWN | constant |
public static const MOUSE_DOWN:String = "mouseDown"The value of the type property of a mouseDown event object.
| MOUSE_MOVE | constant |
public static const MOUSE_MOVE:String = "mouseMove"The value of the type property of a mouseMove event object.
| MOUSE_OUT | constant |
public static const MOUSE_OUT:String = "mouseOut"The value of the type property of a mouseOut event object.
| MOUSE_OVER | constant |
public static const MOUSE_OVER:String = "mouseOver"The value of the type property of a mouseOver event object.
| MOUSE_UP | constant |
public static const MOUSE_UP:String = "mouseUp"The value of the type property of a mouseUp event object.
| MOUSE_WHEEL | constant |
public static const MOUSE_WHEEL:String = "mouseWheel"The value of the type property of a mouseWheel event object.