Constructor ActionBuffers
ActionBuffers(float[], int[])
Construct an ActionBuffers instance with the continuous and discrete actions that will be used. ///
Declaration
public ActionBuffers(float[] continuousActions, int[] discreteActions)
Parameters
| Type | Name | Description |
|---|---|---|
| float[] | continuousActions | The continuous actions to send to an IActionReceiver. |
| int[] | discreteActions | The discrete actions to send to an IActionReceiver. |
ActionBuffers(ActionSegment<float>, ActionSegment<int>)
Construct an ActionBuffers instance with the continuous and discrete actions that will be used.
Declaration
public ActionBuffers(ActionSegment<float> continuousActions, ActionSegment<int> discreteActions)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionSegment<float> | continuousActions | The continuous actions to send to an IActionReceiver. |
| ActionSegment<int> | discreteActions | The discrete actions to send to an IActionReceiver. |
ActionBuffers(ActionSpec)
Construct an ActionBuffers instance with ActionSpec. All values are initialized to zeros. ///
Declaration
public ActionBuffers(ActionSpec actionSpec)
Parameters
| Type | Name | Description |
|---|---|---|
| ActionSpec | actionSpec | The ActionSpec to send to an IActionReceiver. |