Finds the object that is rendered under a certain view coordinate. Used for mouse click events.
public function FindHit(view:View3D, primitives:Array, x:Number, y:Number)
Parameters
| view:View3D — The view to be used.
|
|
| primitives:Array — The primitives that have been rendered in the last frame.
|
|
| x:Number — The x coordinate of the point to test.
|
|
| y:Number — The y coordinate of the point to test.
|
####INIT####
public function getMouseEvent(type:String):MouseEvent3D
Returns a 3d mouse event object populated with the properties from the hit point.
Parameters
Returns
Click to go to the wiki page for ####WIKI####