Public Member Functions | |
ViewportMode (int value) | |
Constructs a ViewportMode of an integer value. More... | |
ViewportMode (ViewportMode enum_) | |
Constructs a copy of a ViewportMode object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static ViewportMode | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static ViewportMode | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
ViewportModeAbsolute =(0) | |
Absolute viewport - pixel coordinates. | |
ViewportModeRelative =(1) | |
Relative viewport - percentage of current render context size. | |
ViewportMode | ( | int | value | ) |
Constructs a ViewportMode of an integer value.
value | Integer value to convert to enumeration constant. |
ViewportMode | ( | ViewportMode | enum_ | ) |
Constructs a copy of a ViewportMode object.
enum_ | ViewportMode to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |