Search Results for

    Show / Hide Table of Contents

    Struct AgentShape

    Represents agent shape in space. In the future this component might be split into specific shape components instead of having one big generic.

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

    Fields

    | Improve this Doc View Source

    Height

    The height of the agent for purposes of passing under obstacles, etc.

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

    Radius

    The radius of the agent.

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

    Type

    The type of shape.

    Declaration
    public ShapeType Type
    Field Value
    Type Description
    ShapeType

    Properties

    | Improve this Doc View Source

    Default

    Returns default configuration.

    Declaration
    public static AgentShape Default { get; }
    Property Value
    Type Description
    AgentShape
    | Improve this Doc View Source

    Orentation

    Represents agent shape in space. In the future this component might be split into specific shape components instead of having one big generic.

    Declaration
    public quaternion Orentation { get; }
    Property Value
    Type Description
    quaternion
    | Improve this Doc View Source

    Up

    Represents agent shape in space. In the future this component might be split into specific shape components instead of having one big generic.

    Declaration
    public float3 Up { get; }
    Property Value
    Type Description
    float3

    Methods

    | Improve this Doc View Source

    GetUp()

    Returns up vector of shape.

    Declaration
    public float3 GetUp()
    Returns
    Type Description
    float3

    Returns up vector of shape.

    Implements

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