Method Perceive
Perceive(RayPerceptionInput, bool)
Evaluates the raycasts to be used as part of an observation of an agent.
Declaration
public static RayPerceptionOutput Perceive(RayPerceptionInput input, bool batched)
Parameters
| Type | Name | Description |
|---|---|---|
| RayPerceptionInput | input | Input defining the rays that will be cast. |
| bool | batched | Use batched raycasts. |
Returns
| Type | Description |
|---|---|
| RayPerceptionOutput | Output struct containing the raycast results. |