Kanzi  3.9.9
Kanzi Engine Java API
LevelOfDetail3DEnums.LODType Enum Reference

Level of detail node selector types. More...

Inheritance diagram for LevelOfDetail3DEnums.LODType:
[legend]

Public Member Functions

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

Public Attributes

 LodTypeDistance =(0)
 The level of detail is measured using the z distance from the camera to the level of detail selector node.
 
 LodTypeScreenArea =(1)
 The level of detail is measured using the ratio of the screen area covered by the level of detail selector node to the whole screen area.
 

Detailed Description

Level of detail node selector types.

Constructor & Destructor Documentation

LODType ( int  value)

Constructs a LODType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.
LODType ( LODType  enum_)

Constructs a copy of a LODType object.

Parameters
enum_LODType to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static LODType 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 LODType 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.