Provides an interface for picking objects that can pick 3d objects from a view or scene.
public function getSceneCollision(position:Vector3D, direction:Vector3D, scene:Scene3D):PickingCollisionVO
Gets the collision object from the scene position and direction of the picking ray.
Parameters
| position:Vector3D — The position of the picking ray in scene-space.
|
|
| direction:Vector3D — The direction of the picking ray in scene-space.
|
|
| scene:Scene3D — The scene on which the picking object acts.
|
Returns public function getViewCollision(x:Number, y:Number, view:View3D):PickingCollisionVO
Gets the collision object from the screen coordinates of the picking ray.
Parameters
| x:Number — The x coordinate of the picking ray in screen-space.
|
|
| y:Number — The y coordinate of the picking ray in screen-space.
|
|
| view:View3D — The view on which the picking object acts.
|
Returns
Tue Jul 17 2012, 10:37 AM +01:00