Class SurfaceImmutableRaycastHit
Threadsafe structure used to get information back from a navigation raycast.
Inheritance
System.Object
SurfaceImmutableRaycastHit
Namespace: AlchemyBow.Navigation.Surfaces.SafeAccess
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class SurfaceImmutableRaycastHit
Constructors
| Improve this Doc View SourceSurfaceImmutableRaycastHit(SurfaceRaycastHit)
Create the threadsafe copy of the SurfaceRaycastHit
class instance.
Declaration
public SurfaceImmutableRaycastHit(SurfaceRaycastHit surfaceRaycastHit)
Parameters
Type | Name | Description |
---|---|---|
SurfaceRaycastHit | surfaceRaycastHit | The source object. |
Fields
| Improve this Doc View Sourceface
The face that was hit.
Declaration
public IImmutableFace face
Field Value
Type | Description |
---|---|
IImmutableFace | The face that was hit. |
position
The intersection point in world space.
Declaration
public Vector3 position
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 | The intersection point in world space. |