Class RayPerceptionSensorComponent2D
A component for 2D Ray Perception.
Inherited Members
Namespace: Unity.MLAgents.Sensors
Syntax
public class RayPerceptionSensorComponent2D : RayPerceptionSensorComponentBase
Methods
GetCastType()
Returns the RayPerceptionCastType for the associated raycast sensor.
Declaration
public override RayPerceptionCastType GetCastType()
Returns
Type | Description |
---|---|
RayPerceptionCastType |