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 : int

    Fields

    Name Description Value
    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
    • Fields
    Back to top
    Terms of use
    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