Package | away3d.core.pick |
Interface | public interface IPicker |
Implementors | RaycastPicker, ShaderPicker |
Property | Defined By | ||
---|---|---|---|
onlyMouseEnabled : Boolean
Determines whether the picker takes account of the mouseEnabled properties of entities. | IPicker |
Method | Defined By | ||
---|---|---|---|
dispose():void
Disposes memory used by the IPicker object
| IPicker | ||
Gets the collision object from the scene position and direction of the picking ray. | IPicker | ||
Gets the collision object from the screen coordinates of the picking ray. | IPicker |
onlyMouseEnabled | property |
onlyMouseEnabled:Boolean
Determines whether the picker takes account of the mouseEnabled properties of entities. Defaults to true.
public function get onlyMouseEnabled():Boolean
public function set onlyMouseEnabled(value:Boolean):void
dispose | () | method |
public function dispose():void
Disposes memory used by the IPicker object
getSceneCollision | () | method |
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.
|
PickingCollisionVO |
getViewCollision | () | method |
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.
|
PickingCollisionVO |