• 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

Interface IImmutableFace

Threadsafe inteterface for the Face class.

Namespace: AlchemyBow.Navigation.Surfaces.SafeAccess
Assembly: AlchemyBow.Navigation.dll
Syntax
public interface IImmutableFace

Properties

| Improve this Doc View Source

A

Gets the first vertex of the face.

Declaration
Vector3 A { get; }
Property Value
Type Description
UnityEngine.Vector3

The first vertex of the face.

| Improve this Doc View Source

AreaMask

Gets the index of the area to witch the face belongs, as a mask.

Declaration
int AreaMask { get; }
Property Value
Type Description
System.Int32

The index of the area to witch the face belongs, as a mask.

| Improve this Doc View Source

B

Gets the second vertex of the face.

Declaration
Vector3 B { get; }
Property Value
Type Description
UnityEngine.Vector3

The second vertex of the face.

| Improve this Doc View Source

C

Gets the third vertex of the face.

Declaration
Vector3 C { get; }
Property Value
Type Description
UnityEngine.Vector3

The third vertex of the face.

| Improve this Doc View Source

Plane

Gets the plane of the face.

Declaration
Plane Plane { get; }
Property Value
Type Description
UnityEngine.Plane

The plane of the face.

| Improve this Doc View Source

Weight

Gets the weight of the face.

Declaration
float Weight { get; }
Property Value
Type Description
System.Single

The weight of the face.

Methods

| Improve this Doc View Source

IsPointInsideFace(Vector3, Single)

Determines whether an point is on the face.

Declaration
bool IsPointInsideFace(Vector3 point, float offset = 0F)
Parameters
Type Name Description
UnityEngine.Vector3 point

The point to check.

System.Single offset

Calculation offset. (optional)

Returns
Type Description
System.Boolean

true if the is on the face; otherwise, false.

| Improve this Doc View Source

Raycast(Ray, out Single)

Raycasts the face.

Declaration
bool Raycast(Ray ray, out float distance)
Parameters
Type Name Description
UnityEngine.Ray ray

The starting point and direction of the ray.

System.Single distance

If true is returned, distance will be the signed distance to the intersection point.

Returns
Type Description
System.Boolean

true if the ray intersects with the face; otherwise, false.

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