LinesRaycastResult (object)

LinesRaycastResult LinesRaycastResult LinesRaycastResult RaycastResult RaycastResult LinesRaycastResult->RaycastResult

Members

Vec3 start  
Vec3 unitDir  
Scalar coneThreshold  
GeometryLocation location  
Ref<LinesSpatialQueryCache> queryCache  

Methods

  LinesRaycastResult ( in LinesRaycastResult other )
  LinesRaycastResult ( in Ref<LinesSpatialQueryCache> queryCache )
  LinesRaycastResult ()
LinesRaycastResult 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

LinesRaycastResult ( in LinesRaycastResult other )

copy constructor


LinesRaycastResult ( in Ref<LinesSpatialQueryCache> queryCache )


LinesRaycastResult ()

default constructor


LinesRaycastResult LinesRaycastResult.clone? ()

clone method


Boolean LinesRaycastResult.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.


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

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


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

Resets the content of the query (new raycast beginning)