Kanzi 3.9.10
Node2DEnums.PerspectiveTransformationMode Enum Reference

Node2D perspective transformation mode. More...

Inheritance diagram for Node2DEnums.PerspectiveTransformationMode:
[legend]

Public Member Functions

 PerspectiveTransformationMode (int value)
 Constructs a PerspectiveTransformationMode of an integer value.
 
 PerspectiveTransformationMode (PerspectiveTransformationMode enum_)
 Constructs a copy of a PerspectiveTransformationMode 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 PerspectiveTransformationMode swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static PerspectiveTransformationMode toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 Screen =(0)
 Screen coordinates.
 
 XFov =(1)
 3D coordinates with a field of view in x direction.
 
 YFov =(2)
 3D coordinates with a field of view in y direction.
 

Detailed Description

Node2D perspective transformation mode.

Constructor & Destructor Documentation

◆ PerspectiveTransformationMode() [1/2]

Constructs a PerspectiveTransformationMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ PerspectiveTransformationMode() [2/2]

Constructs a copy of a PerspectiveTransformationMode object.

Parameters
enum_PerspectiveTransformationMode to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static PerspectiveTransformationMode swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static PerspectiveTransformationMode toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.