docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IActuator

    Abstraction that facilitates the execution of actions.

    Inherited Members
    IActionReceiver.OnActionReceived(ActionBuffers)
    IActionReceiver.WriteDiscreteActionMask(IDiscreteActionMask)
    IHeuristicProvider.Heuristic(in ActionBuffers)
    Namespace: Unity.MLAgents.Actuators
    Assembly: Unity.ML-Agents.dll
    Syntax
    public interface IActuator : IActionReceiver, IHeuristicProvider

    Properties

    ActionSpec

    The specification of the actions for this IActuator.

    Declaration
    ActionSpec ActionSpec { get; }
    Property Value
    Type Description
    ActionSpec
    See Also
    ActionSpec

    Name

    Gets the name of this IActuator which will be used to sort it.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    string

    Methods

    ResetData()

    Resets the internal state of the actuator. This is called at the end of an Agent's episode. Most implementations can leave this empty.

    Declaration
    void ResetData()

    Extension Methods

    IActuatorExtensions.TotalNumberOfActions(IActuator)
    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)