Package | away3d.core.pick |
Class | public class ShaderPicker |
Inheritance | ShaderPicker Object |
Implements | IPicker |
See also
Method | Defined By | ||
---|---|---|---|
Creates a new ShaderPicker object. | ShaderPicker | ||
Gets the collision object from the scene position and direction of the picking ray. | ShaderPicker | ||
Gets the collision object from the screen coordinates of the picking ray. | ShaderPicker |
Method | Defined By | ||
---|---|---|---|
draw(entityCollector:EntityCollector, target:TextureBase):void | ShaderPicker |
ShaderPicker | () | Constructor |
public function ShaderPicker()
Creates a new ShaderPicker
object.
draw | () | method |
protected function draw(entityCollector:EntityCollector, target:TextureBase):void
Parameters
entityCollector:EntityCollector | |
target:TextureBase |
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 |