Method ObservationToTexture
ObservationToTexture(RenderTexture, Texture2D)
Converts a RenderTexture to a 2D texture.
Declaration
public static void ObservationToTexture(RenderTexture obsTexture, Texture2D texture2D)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTexture | obsTexture | RenderTexture. |
| Texture2D | texture2D | Texture2D to render to. |