• 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 NavigationAreaSettings

Describes the settings for a specific area.

Inheritance
System.Object
NavigationAreaSettings
Namespace: AlchemyBow.Navigation.Settings
Assembly: AlchemyBow.Navigation.dll
Syntax
[Serializable]
public sealed class NavigationAreaSettings

Constructors

| Improve this Doc View Source

NavigationAreaSettings(String, Single, Color)

Creates a new instance of the NavigationAreaSettings class.

Declaration
public NavigationAreaSettings(string name, float weight, Color color)
Parameters
Type Name Description
System.String name

A user-friendly name to appear in the Unity Editor.

System.Single weight

The greater the weight, the less frequently paths through the certain area are chosen. (1 is a standard value.)

UnityEngine.Color color

The preview color.

Properties

| Improve this Doc View Source

Color

The preview color.

Declaration
public Color Color { get; }
Property Value
Type Description
UnityEngine.Color

The color of the area.

| Improve this Doc View Source

Name

A user-friendly name to appear in the Unity Editor.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

The user-friendly name of the area.

| Improve this Doc View Source

Weight

The greater the weight, the less frequently paths through the certain area are chosen. (1 is a standard value.)

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

The weight of the area.

Methods

| Improve this Doc View Source

CreateDefault(Int32)

Creates the default instance of the NavigationAreaSettings class.

Declaration
public static NavigationAreaSettings CreateDefault(int index)
Parameters
Type Name Description
System.Int32 index

The index of the area.

Returns
Type Description
NavigationAreaSettings

A new instance of the NavigationAreaSettings class with default values.

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