All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
lod_selector3d_properties.h File Reference

Functions

LevelOfDetail3D::LODType getType () const
 Gets the value of TypeProperty. More...
 
void setType (LevelOfDetail3D::LODType value)
 Sets the value of TypeProperty. More...
 

Variables

static PropertyType< float > MinimumAreaProperty
 MinimumArea property. More...
 
static PropertyType< float > MinimumDistanceProperty
 MinimumDistance property. More...
 
static PropertyType
< LevelOfDetail3D::LODType > 
TypeProperty
 Type property. More...
 

Function Documentation

LevelOfDetail3D::LODType getType ( ) const

Gets the value of TypeProperty.

See also
setType()
void setType ( LevelOfDetail3D::LODType  value)

Sets the value of TypeProperty.

See also
getType()

Variable Documentation

PropertyType<float> MinimumAreaProperty
static

MinimumArea property.

When using #LodTypeScreenArea, the constraint that sets the minimum screen area covered by the level of detail in proportion to the screen size in range [0, 1]. The default value is 0.0f.

See also
setMinimumArea(), getMinimumArea()
PropertyType<float> MinimumDistanceProperty
static

MinimumDistance property.

When using #LodTypeDistance, the constraint that sets the minimum z distance from the camera to the level of detail in range [0, Inf]. The default value is 0.0f.

See also
setMinimumDistance(), getMinimumDistance()
PropertyType<LevelOfDetail3D::LODType> TypeProperty
static

Type property.

Defines the type of the level of detail. LevelOfDetail3D::LodTypeDistance sets the level of detail to use the minimum z distance from the camera to the level of detail. LevelOfDetail3D::LodTypeScreenArea sets the level of detail to use the minimum screen area covered by the child node in proportion to the screen size. The default value is LevelOfDetail3D::LodTypeDistance.

See also
setType(), getType()