MeshRaycastResult (object)

MeshRaycastResult MeshRaycastResult MeshRaycastResult RaycastResult RaycastResult MeshRaycastResult->RaycastResult

Members

Vec3 start  
Vec3 unitDir  
Boolean doubleSided  
Scalar coneThreshold  
GeometryLocation location  
GeometryLocationAccumulator locationAccumulator  
Ref<PolygonMeshSpatialQueryCache> queryCache  

Methods

  MeshRaycastResult ( in MeshRaycastResult other )
  MeshRaycastResult ( in Ref<PolygonMeshSpatialQueryCache> queryCache )
  MeshRaycastResult ()
MeshRaycastResult clone ? ()
Boolean compareAndUpdate ! ( in Size objectIndex, out Scalar maxDistance )
  copyResultFrom ! ( in Ref<RaycastResult> other )
Boolean raycastPolygon ! ( in Size polygonIndex, in Ref<Vec3_dAttribute> pos_dAttr, in Ref<Vec3Attribute> posAttr, io Scalar maxDistance, in Boolean bidirectional, in Boolean accumulateAll )
  reset ! ( in Vec3 start, in Vec3 unitDir, in Boolean doubleSided, in Scalar coneThreshold )

Methods in detail

MeshRaycastResult ( in MeshRaycastResult other )

copy constructor


MeshRaycastResult ( in Ref<PolygonMeshSpatialQueryCache> queryCache )


MeshRaycastResult ()

default constructor


MeshRaycastResult MeshRaycastResult.clone? ()

clone method


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


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

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


Boolean MeshRaycastResult.raycastPolygon! ( in Size polygonIndex, in Ref<Vec3_dAttribute> pos_dAttr, in Ref<Vec3Attribute> posAttr, io Scalar maxDistance, in Boolean bidirectional, in Boolean accumulateAll )


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

Resets the content of the query (new raycast beginning)