Class RayPerceptionSensorComponent2D
A component for 2D Ray Perception.
Inheritance
RayPerceptionSensorComponent2D
Inherited Members
Namespace: Unity.MLAgents.Sensors
Assembly: Unity.ML-Agents.dll
Syntax
[AddComponentMenu("ML Agents/Ray Perception Sensor 2D", 50)]
public class RayPerceptionSensorComponent2D : RayPerceptionSensorComponentBase
Methods
GetCastType()
Returns the RayPerceptionCastType for the associated raycast sensor.
Declaration
public override RayPerceptionCastType GetCastType()
Returns
Type | Description |
---|---|
RayPerceptionCastType |