Search Results for

    Show / Hide Table of Contents

    Struct AgentFlock

    Agent flocking with nearby agents.

    Implements
    IComponentData
    IQueryTypeParameter
    IEnableableComponent
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ProjectDawn.Navigation
    Assembly: ProjectDawn.Navigation.dll
    Syntax
    public struct AgentFlock : IComponentData, IQueryTypeParameter, IEnableableComponent

    Fields

    | Improve this Doc View Source

    AlignmentWeight

    The weight of the alignment force.

    Declaration
    public float AlignmentWeight
    Field Value
    Type Description
    float
    | Improve this Doc View Source

    CohesionWeight

    The weight of the cohesion force.

    Declaration
    public float CohesionWeight
    Field Value
    Type Description
    float
    | Improve this Doc View Source

    Layers

    Agent flocking with nearby agents.

    Declaration
    public NavigationLayers Layers
    Field Value
    Type Description
    NavigationLayers
    | Improve this Doc View Source

    Radius

    Radius at which agent will attempt cohesion and alignement with nearby agents.

    Declaration
    public float Radius
    Field Value
    Type Description
    float

    Properties

    | Improve this Doc View Source

    Default

    Returns default configuration.

    Declaration
    public static AgentFlock Default { get; }
    Property Value
    Type Description
    AgentFlock

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    Unity.Entities.IEnableableComponent
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © ProjectDawn.
    Generated by DocFX