PointsRaycastResult (object)

PointsRaycastResult PointsRaycastResult PointsRaycastResult RaycastResult RaycastResult PointsRaycastResult->RaycastResult

Members

Vec3 start  
Vec3 unitDir  
Vec3 dirPoint  
Scalar coneThreshold  
GeometryLocation location  
Ref<PointsSpatialQueryCache> queryCache  

Methods

  PointsRaycastResult ( in PointsRaycastResult other )
  PointsRaycastResult ( in Ref<PointsSpatialQueryCache> queryCache )
  PointsRaycastResult ()
PointsRaycastResult clone ? ()
Boolean compareAndUpdate ! ( in Size objectIndex, out Scalar maxDistance )
  copyResultFrom ! ( in Ref<RaycastResult> other )
  reset ! ( in Vec3 start, in Vec3 unitDir, in Boolean doubleSided, in Scalar coneThreshold )

Methods in detail

PointsRaycastResult ( in PointsRaycastResult other )

copy constructor


PointsRaycastResult ( in Ref<PointsSpatialQueryCache> queryCache )


PointsRaycastResult ()

default constructor


PointsRaycastResult PointsRaycastResult.clone? ()

clone method


Boolean PointsRaycastResult.compareAndUpdate! ( in Size objectIndex, out Scalar maxDistance )

If the raycast resulting distance is <= maxDistance, returns ‘true’ and the object should preserve location information for that best candidate.


PointsRaycastResult.copyResultFrom! ( in Ref<RaycastResult> other )

Sets the resulting raycast location from the other RaycastResult (same type)


PointsRaycastResult.reset! ( in Vec3 start, in Vec3 unitDir, in Boolean doubleSided, in Scalar coneThreshold )

Resets the content of the query (new raycast beginning)