Enum RayPerceptionCastType
Determines which dimensions the sensor will perform the casts in.
Namespace: Unity.MLAgents.Sensors
Syntax
public enum RayPerceptionCastType : int
Fields
Name | Description | Value |
---|---|---|
Cast2D | Cast in 2 dimensions, using Physics2D.CircleCast or Physics2D.RayCast. |
0 |
Cast3D | Cast in 3 dimensions, using Physics.SphereCast or Physics.RayCast. |
1 |