• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AlchemyBow.Navigation
    • AlchemyNavigationSystem
    • BasicAgent
    • FacesHolder
    • NavigationAct
    • NavigationFaceWrapper
    • NavigationInfo
    • PathfindingRequest
    • PathfindingRequest.PathType
    • PathfindingRequest.Status
  • AlchemyBow.Navigation.BackgroundProcessing
    • BackgroundProcessor
    • BackgroundProcessor.States
    • BuildingProcess
    • IBackgroundCommand
    • PathfindingProcess
    • RegisterFaceCommand
    • UnregisterFaceCommand
  • AlchemyBow.Navigation.Collections
    • OrderedSet<T>
    • OrderedSetNode<T>
    • OrderedSetRangeComparer<T>
  • AlchemyBow.Navigation.DebugUnits
    • AlchemyNavigationSystemDebugUnit
    • CompositeSurfaceDrawer
    • GizmosSurfaceDrawer
    • ISurfaceDrawer
    • MinimalGizmosSurfaceDrawer
  • AlchemyBow.Navigation.HighLevel
    • MeshBasedBake
    • MeshBasedBakeGroup
    • MeshBasedBakeSettings
    • WorldMesh
  • AlchemyBow.Navigation.PropertyAttributes
    • AreaIndexAttribute
    • AreaMaskAttribute
    • LayerIndexAttribute
  • AlchemyBow.Navigation.Settings
    • AlchemyNavigationSettingsPreset
    • NavigationAreaSettings
    • NavigationLayerSettings
    • NavigationSettings
  • AlchemyBow.Navigation.Simple
    • SimpleAgent
  • AlchemyBow.Navigation.Simple.Elements
    • AvoidanceGroup
    • AvoidanceModifier
    • CachedFace
    • ISteeredBehaviour
    • MovementModifier
    • PathProgress
  • AlchemyBow.Navigation.Surfaces
    • Edge
    • Face
    • FacesByMagnitudeRangeComparer
    • NavigationSurface
    • SurfaceRaycastHit
    • Usage<TUser>
    • UsageTrackingObject<TUser>
    • Vertex
    • VertexByPositionComparer
  • AlchemyBow.Navigation.Surfaces.SafeAccess
    • IImmutableFace
    • SurfaceImmutableRaycastHit
  • AlchemyBow.Navigation.Utilities
    • ChannelUnwrapper
    • FaceAStar
    • FaceStarUnit
    • Funnel
    • ICommand

Class SurfaceRaycastHit

Structure used to get information back from a navigation raycast.

Inheritance
System.Object
SurfaceRaycastHit
Namespace: AlchemyBow.Navigation.Surfaces
Assembly: AlchemyBow.Navigation.dll
Syntax
public class SurfaceRaycastHit

Constructors

| Improve this Doc View Source

SurfaceRaycastHit()

Creates an instance of the SurfaceRaycastHit class.

Declaration
public SurfaceRaycastHit()

Fields

| Improve this Doc View Source

distance

The distance from the ray's origin to the intersection point.

Declaration
public float distance
Field Value
Type Description
System.Single

The distance from the ray's origin to the intersection point.

| Improve this Doc View Source

face

The face that was hit.

Declaration
public Face face
Field Value
Type Description
Face

The face that was hit.

| Improve this Doc View Source

position

The intersection point in world space.

Declaration
public Vector3 position
Field Value
Type Description
UnityEngine.Vector3

The intersection point in world space.

Methods

| Improve this Doc View Source

ToImmutable()

Create the threadsafe copy of the instance.

Declaration
public SurfaceImmutableRaycastHit ToImmutable()
Returns
Type Description
SurfaceImmutableRaycastHit

The threadsafe copy of the instance.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX