Packageaway3d.core.pick
Classpublic class PickingType
InheritancePickingType Inheritance Object

Options for the different 3D object picking approaches available in Away3D. Can be used for automatic mouse picking on the view.

See also

away3d.containers.View3D.mousePicker


Public Constants
 ConstantDefined By
  RAYCAST_BEST_HIT : IPicker
[static] Uses AS3 and Pixel Bender to pick objects based on ray intersection.
PickingType
  RAYCAST_FIRST_ENCOUNTERED : IPicker
[static] Uses AS3 and Pixel Bender to pick objects based on ray intersection.
PickingType
  SHADER : IPicker
[static] Uses a render pass to pick objects based on a key color that is read back into the engine.
PickingType
Constant Detail
RAYCAST_BEST_HITConstant
public static const RAYCAST_BEST_HIT:IPicker

Uses AS3 and Pixel Bender to pick objects based on ray intersection. Returns the best (closest) hit on an Entity.

RAYCAST_FIRST_ENCOUNTEREDConstant 
public static const RAYCAST_FIRST_ENCOUNTERED:IPicker

Uses AS3 and Pixel Bender to pick objects based on ray intersection. Returns the hit on the first encountered Entity.

SHADERConstant 
public static const SHADER:IPicker

Uses a render pass to pick objects based on a key color that is read back into the engine. Performance can be variable on some GPUs.