Kanzi 3.9.10
ConstraintsEnums.FaceToCameraMode Enum Reference

Specifies the options for setting a 3D node to turn towards a camera. More...

Inheritance diagram for ConstraintsEnums.FaceToCameraMode:
[legend]

Public Member Functions

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

Public Attributes

 Billboard =(2)
 Keeps the node perpendicular to the camera field of view.
 
 Cylindrical =(3)
 Rotates the node along the y axis to turn towards the camera.
 
 Disabled =(0)
 Does not make the node turn towards the camera.
 
 LookAt =(1)
 Rotates the node along all axes to turn towards the camera.
 

Detailed Description

Specifies the options for setting a 3D node to turn towards a camera.

Constructor & Destructor Documentation

◆ FaceToCameraMode() [1/2]

Constructs a FaceToCameraMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FaceToCameraMode() [2/2]

Constructs a copy of a FaceToCameraMode object.

Parameters
enum_FaceToCameraMode 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 FaceToCameraMode 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 FaceToCameraMode 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.