model3d_properties.h File Reference

Functions

ResourceSharedPtr getMaterial () const
 Gets the value of MaterialProperty. More...
 
void setMaterial (ResourceSharedPtr value)
 Sets the value of MaterialProperty. More...
 
bool isDrawnAsBoundingBox () const
 Gets the value of DrawnAsBoundingBoxProperty. More...
 
void setDrawnAsBoundingBox (bool value)
 Sets the value of DrawnAsBoundingBoxProperty. More...
 

Variables

static PropertyType< ResourceSharedPtr > MeshProperty
 Mesh property. More...
 
static PropertyType< ResourceSharedPtr > MaterialProperty
 Material property. More...
 
static PropertyType< bool > DrawnAsBoundingBoxProperty
 DrawnAsBoundingBox property. More...
 
static PropertyType< float > MeshMorphTargetWeightProperty
 MeshMorphTargetWeight property. More...
 

Function Documentation

ResourceSharedPtr getMaterial ( ) const

Gets the value of MaterialProperty.

See also
setMaterial()
void setMaterial ( ResourceSharedPtr  value)

Sets the value of MaterialProperty.

See also
getMaterial()
bool isDrawnAsBoundingBox ( ) const
void setDrawnAsBoundingBox ( bool  value)

Variable Documentation

PropertyType<ResourceSharedPtr> MeshProperty
static

Mesh property.

The default value is ResourceSharedPtr().

See also
setMesh(), getMesh()
PropertyType<ResourceSharedPtr> MaterialProperty
static

Material property.

The default value is ResourceSharedPtr().

See also
setMaterial(), getMaterial()
PropertyType<bool> DrawnAsBoundingBoxProperty
static

DrawnAsBoundingBox property.

The default value is false.

See also
setDrawnAsBoundingBox(), isDrawnAsBoundingBox()
PropertyType<float> MeshMorphTargetWeightProperty
static

MeshMorphTargetWeight property.

The default value is 1.0f.

See also
setMeshMorphTargetWeight(), getMeshMorphTargetWeight()