Packageaway3d.core.pick
Classpublic class PickingColliderBase
InheritancePickingColliderBase Inheritance Object
Subclasses AS3PickingCollider, PBPickingCollider

An abstract base class for all picking collider classes. It should not be instantiated directly.



Protected Properties
 PropertyDefined By
  rayDirection : Vector3D
PickingColliderBase
  rayPosition : Vector3D
PickingColliderBase
Public Methods
 MethodDefined By
  
setLocalRay(localPosition:Vector3D, localDirection:Vector3D):void
PickingColliderBase
Protected Methods
 MethodDefined By
  
getCollisionNormal(indexData:Vector.<uint>, vertexData:Vector.<Number>, triangleIndex:uint):Vector3D
PickingColliderBase
  
getCollisionUV(indexData:Vector.<uint>, uvData:Vector.<Number>, triangleIndex:uint, v:Number, w:Number, u:Number, uvOffset:uint, uvStride:uint):Point
PickingColliderBase
Property Detail
rayDirectionproperty
protected var rayDirection:Vector3D

rayPositionproperty 
protected var rayPosition:Vector3D

Method Detail
getCollisionNormal()method
protected function getCollisionNormal(indexData:Vector.<uint>, vertexData:Vector.<Number>, triangleIndex:uint):Vector3D

Parameters

indexData:Vector.<uint>
 
vertexData:Vector.<Number>
 
triangleIndex:uint

Returns
Vector3D
getCollisionUV()method 
protected function getCollisionUV(indexData:Vector.<uint>, uvData:Vector.<Number>, triangleIndex:uint, v:Number, w:Number, u:Number, uvOffset:uint, uvStride:uint):Point

Parameters

indexData:Vector.<uint>
 
uvData:Vector.<Number>
 
triangleIndex:uint
 
v:Number
 
w:Number
 
u:Number
 
uvOffset:uint
 
uvStride:uint

Returns
Point
setLocalRay()method 
public function setLocalRay(localPosition:Vector3D, localDirection:Vector3D):void

Parameters

localPosition:Vector3D
 
localDirection:Vector3D