docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method AddObservation

    AddObservation(float)

    Adds a float observation to the vector observations of the agent.

    Declaration
    public void AddObservation(float observation)
    Parameters
    Type Name Description
    float observation

    Observation.

    AddObservation(int)

    Adds an integer observation to the vector observations of the agent.

    Declaration
    public void AddObservation(int observation)
    Parameters
    Type Name Description
    int observation

    Observation.

    AddObservation(Vector3)

    Adds an Vector3 observation to the vector observations of the agent.

    Declaration
    public void AddObservation(Vector3 observation)
    Parameters
    Type Name Description
    Vector3 observation

    Observation.

    AddObservation(Vector2)

    Adds an Vector2 observation to the vector observations of the agent.

    Declaration
    public void AddObservation(Vector2 observation)
    Parameters
    Type Name Description
    Vector2 observation

    Observation.

    AddObservation(IList<float>)

    Adds a list or array of float observations to the vector observations of the agent.

    Declaration
    public void AddObservation(IList<float> observation)
    Parameters
    Type Name Description
    IList<float> observation

    Observation.

    AddObservation(Quaternion)

    Adds a quaternion observation to the vector observations of the agent.

    Declaration
    public void AddObservation(Quaternion observation)
    Parameters
    Type Name Description
    Quaternion observation

    Observation.

    AddObservation(bool)

    Adds a boolean observation to the vector observation of the agent.

    Declaration
    public void AddObservation(bool observation)
    Parameters
    Type Name Description
    bool observation

    Observation.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023