Public Member Functions | |
ViewportMode (int value) | |
Constructs a ViewportMode of an integer value. | |
ViewportMode (ViewportMode enum_) | |
Constructs a copy of a ViewportMode object. | |
int | getValue () |
Returns the integer value of the enumeration constant. | |
final int | swigValue () |
Returns the integer value of the enumeration constant. | |
Static Public Member Functions | |
static ViewportMode | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static ViewportMode | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
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. |
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. |