Specifies the options for setting a 3D node to turn towards a camera. More...
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. | |
Specifies the options for setting a 3D node to turn towards a camera.
FaceToCameraMode | ( | int | value | ) |
Constructs a FaceToCameraMode of an integer value.
value | Integer value to convert to enumeration constant. |
FaceToCameraMode | ( | FaceToCameraMode | enum_ | ) |
Constructs a copy of a FaceToCameraMode object.
enum_ | FaceToCameraMode 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. |
final int swigValue | ( | ) |
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. |