docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum BuiltInSensorType

    Identifiers for "built in" sensor types. These are only used for analytics, and should not be used for any runtime decisions.

    NOTE: Do not renumber these, since the values are used for analytics. Renaming is allowed though.

    Namespace: Unity.MLAgents.Sensors
    Assembly: Unity.ML-Agents.dll
    Syntax
    public enum BuiltInSensorType

    Fields

    Name Description
    BufferSensor

    Sensors that use buffers or tensors for observations.

    CameraSensor

    Sensors that use the Camera for observations.

    GridSensor

    Sensors that break down the world into a grid of colliders to observe an area at a pre-defined granularity.

    Match3Sensor

    The sensors that observe Match 3 boards.

    PhysicsBodySensor

    The sensors that observe properties of rigid bodies.

    RayPerceptionSensor

    The RayPerception Sensor types, both 3D and 2D.

    ReflectionSensor

    The observable attribute sensor type.

    RenderTextureSensor

    Sensors that use RenderTextures for observations.

    StackingSensor

    The Stacking Sensor type. NOTE: StackingSensor actually returns the wrapped sensor's type.

    Unknown

    Default Sensor type if it cannot be determined.

    VectorSensor

    The Vector sensor used by the agent.

    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)