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 |