Kanzi  3.9.8
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 mValue)
 
 FaceToCameraMode (FaceToCameraMode enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static FaceToCameraMode swigToEnum (int swigValue)
 
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.


Since
Kanzi 3.9.4

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.