Search Results for

    Show / Hide Table of Contents

    Struct OculusAvoidanceWeights

    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
    [Serializable]
    public struct OculusAvoidanceWeights

    Constructors

    | Improve this Doc View Source

    OculusAvoidanceWeights(float, float, float)

    Declaration
    public OculusAvoidanceWeights(float direction, float occlusion, float veloecity)
    Parameters
    Type Name Description
    float direction
    float occlusion
    float veloecity

    Fields

    | Improve this Doc View Source

    Direction

    Declaration
    [Tooltip("Determines how likely the avoidance system will choose a direction close to the desired one. A value closer to 1 will favor directions aligned with the desired target direction.")]
    [Range(0, 1)]
    public float Direction
    Field Value
    Type Description
    float
    | Improve this Doc View Source

    Occlusion

    Declaration
    [Tooltip("Controls how likely the avoidance system will choose a direction that minimizes occlusion by obstacles. A value closer to 1 will prioritize less obstructed paths.")]
    [Range(0, 1)]
    public float Occlusion
    Field Value
    Type Description
    float
    | Improve this Doc View Source

    Velocity

    Declaration
    [Tooltip("Indicates how likely the avoidance system will select a direction close to the current velocity of the agent. A value closer to 1 will favor maintaining the agent’s momentum.")]
    [Range(0, 1)]
    public float Velocity
    Field Value
    Type Description
    float

    Properties

    | Improve this Doc View Source

    Default

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

    IsNormalized

    Declaration
    public bool IsNormalized { get; }
    Property Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    Normalize()

    Declaration
    public void Normalize()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © ProjectDawn.
    Generated by DocFX