An ARRenderTarget represents a target buffer for rendering content offscreen.
Add an ARViewPort to the list of ARRenderTargets ARViewPorts.
- Parameters
-
Clear depth/colour buffer if it is set to be cleared.
Returns the priority of this render target relative to other render targets. Any value is fine. Lower is rendered first.
- Returns
- The priority of this render target relative to other render targets.
| boolean getShouldClear |
( |
| ) |
|
|
inline |
Return whether the colour buffer should be cleared.
- Returns
- boolean
| boolean getShouldClearDepth |
( |
| ) |
|
|
inline |
Return whether the depth buffer should be cleared.
- Returns
- boolean
Returns the list of ARViewPort objects that this render target contains. These are rendered based on viewport z-order.
- Returns
- The list of ARViewPorts this ARRenderTarget contains.
| Bitmap screenshot |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
Take a screenshot.
- Parameters
-
| width | Width of the screenshot. |
| height | Height of the screenshot. |
- Returns
- Bitmap
| void setPriority |
( |
int |
priority | ) |
|
|
inline |
Sets the priority of the ARRRenderTarget the lower values are rendered first.
- Parameters
-
| void setShouldClear |
( |
boolean |
shouldClear | ) |
|
|
inline |
Sets whether the colour buffer should be cleared.
- Parameters
-
| void setShouldClearDepth |
( |
boolean |
shouldClearDepth | ) |
|
|
inline |
Set whether the depth buffer should be cleared.
- Parameters
-
The documentation for this class was generated from the following file: