A MouseEvent3D is dispatched when a mouse event occurs over a mouseEnabled object in View3D. todo: we don't have screenZ data, tho this should be easy to implement
Static variables
staticinlineread onlyCLICK:String = "click3d"
Defines the value of the type property of a click3d event object.
staticinlineread onlyDOUBLE_CLICK:String = "doubleClick3d"
Defines the value of the type property of a doubleClick3d event object.
staticinlineread onlyMOUSE_DOWN:String = "mouseDown3d"
Defines the value of the type property of a mouseDown3d event object.
staticinlineread onlyMOUSE_MOVE:String = "mouseMove3d"
Defines the value of the type property of a mouseMove3d event object.
staticinlineread onlyMOUSE_OUT:String = "mouseOut3d"
Defines the value of the type property of a mouseOut3d event object.
staticinlineread onlyMOUSE_OVER:String = "mouseOver3d"
Defines the value of the type property of a mouseOver3d event object.
staticinlineread onlyMOUSE_UP:String = "mouseUp3d"
Defines the value of the type property of a mouseUp3d event object.
staticinlineread onlyMOUSE_WHEEL:String = "mouseWheel3d"
Defines the value of the type property of a mouseWheel3d event object.
Constructor
Variables
delta:Int
Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel.
Methods
clone():Event
Creates a copy of the MouseEvent3D object and sets the value of each property to match that of the original.
getSceneNormal(?v:Vector3D):Vector3D
The normal in scene space where the event took place @return
Parameters:
v | destination Vector3D |
|---|
getScenePosition(?v:Vector3D):Vector3D
The position in scene space where the event took place @return
Parameters:
v | destination Vector3D |
|---|