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

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 ( int  value)

Constructs a FaceToCameraMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a FaceToCameraMode object.

Parameters
enum_FaceToCameraMode to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
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.