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

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() [1/2]

LODType ( int value)

Constructs a LODType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ LODType() [2/2]

LODType ( LODType enum_)

Constructs a copy of a LODType object.

Parameters
enum_LODType 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 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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.