Search Results for

    Show / Hide Table of Contents

    Struct FlockGroup

    Agent group for flocking. Modifies desired direction to match flock direction.

    Implements
    IComponentData
    IQueryTypeParameter
    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 FlockGroup : IComponentData, IQueryTypeParameter

    Fields

    | Improve this Doc View Source

    Alignment

    Scaler of alignment.

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

    AverageDirection

    Average direction of the flock.

    Declaration
    public float3 AverageDirection
    Field Value
    Type Description
    float3
    | Improve this Doc View Source

    AveragePositions

    Average position of the flock.

    Declaration
    public float3 AveragePositions
    Field Value
    Type Description
    float3
    | Improve this Doc View Source

    Cohesion

    Scaler of cohesion.

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

    LeaderEntity

    Leader of the flock.

    Declaration
    public Entity LeaderEntity
    Field Value
    Type Description
    Entity
    | Improve this Doc View Source

    Radius

    Maximum radius of the flock from leader.

    Declaration
    public float Radius
    Field Value
    Type Description
    float

    Implements

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