docs.unity3d.com
    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
    Syntax
    public enum BuiltInSensorType

    Fields

    Name Description Value
    Unknown

    Default Sensor type if it cannot be determined.

    0
    VectorSensor

    The Vector sensor used by the agent.

    1
    StackingSensor

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

    2
    RayPerceptionSensor

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

    3
    ReflectionSensor

    The observable attribute sensor type.

    4
    CameraSensor

    Sensors that use the Camera for observations.

    5
    RenderTextureSensor

    Sensors that use RenderTextures for observations.

    6
    BufferSensor

    Sensors that use buffers or tensors for observations.

    7
    PhysicsBodySensor

    The sensors that observe properties of rigid bodies.

    8
    Match3Sensor

    The sensors that observe Match 3 boards.

    9
    GridSensor

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

    10
    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