Node2D render type - affects elementary decisions about node rendering.
More...
|
| RenderType (int value) |
|
int | getValue () |
| Returns the integer value of the enumeration constant. More...
|
|
|
| Manual =(2) |
| Node handles its own rendering.
|
|
| ManualClipped =(3) |
| Node handles its own rendering, but also clips its own content. More...
|
|
| None =(0) |
| Will not render itself except for its children.
|
|
| Texture =(1) |
| Node will render itself as textured quad.
|
|
Node2D render type - affects elementary decisions about node rendering.
◆ getValue()
Returns the integer value of the enumeration constant.
- Returns
- Integer value.
Implements Enum.
◆ toEnum()
Converts an integer value to the matching enumeration constant.
- Parameters
-
value | Integer value to convert to enumeration constant. |
- Returns
- Enumeration constant matching the integer value.
◆ ManualClipped
Node handles its own rendering, but also clips its own content.
This means the node using this will not need additional composition area definitions, and can rendered directly.