docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IActuatorExtensions

    Helper methods to be shared by all classes that implement IActuator.

    Inheritance
    object
    IActuatorExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.MLAgents.Actuators
    Assembly: Unity.ML-Agents.dll
    Syntax
    public static class IActuatorExtensions

    Methods

    TotalNumberOfActions(IActuator)

    Returns the number of discrete branches + the number of continuous actions.

    Declaration
    public static int TotalNumberOfActions(this IActuator actuator)
    Parameters
    Type Name Description
    IActuator actuator
    Returns
    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)