docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct UnityRLInitParameters

    Initialization parameters for the Unity environment.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MLAgents
    Assembly: Unity.ML-Agents.dll
    Syntax
    public struct UnityRLInitParameters

    Fields

    TrainerCapabilities

    The RL capabilities of the Trainer codebase.

    Declaration
    public UnityRLCapabilities TrainerCapabilities
    Field Value
    Type Description
    UnityRLCapabilities

    numAreas

    The number of areas to replicate if Training Area Replication is used in the scene.

    Declaration
    public int numAreas
    Field Value
    Type Description
    int

    pythonCommunicationVersion

    The version of the communication API that python is using.

    Declaration
    public string pythonCommunicationVersion
    Field Value
    Type Description
    string

    pythonLibraryVersion

    The library version of the python process.

    Declaration
    public string pythonLibraryVersion
    Field Value
    Type Description
    string

    seed

    A random number generator (RNG) seed sent from the python process to Unity.

    Declaration
    public int seed
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)