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

Functions

ResourceID getMeshResourceID () const
 Gets the value of MeshProperty. More...
 
void setMeshResourceID (ResourceID value)
 Sets the value of MeshProperty. More...
 
ResourceID getMaterialResourceID () const
 Gets the value of MaterialProperty. More...
 
void setMaterialResourceID (ResourceID 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< ResourceID > MeshProperty
 Mesh property. More...
 
static PropertyType< ResourceID > MaterialProperty
 Material property. More...
 
static PropertyType< bool > DrawnAsBoundingBoxProperty
 DrawnAsBoundingBox property. More...
 
static PropertyType< float > MeshMorphTargetWeightProperty
 MeshMorphTargetWeight property. More...
 

Function Documentation

ResourceID getMeshResourceID ( ) const

Gets the value of MeshProperty.

See also
setMeshResourceID()
void setMeshResourceID ( ResourceID  value)

Sets the value of MeshProperty.

See also
getMeshResourceID()
ResourceID getMaterialResourceID ( ) const

Gets the value of MaterialProperty.

See also
setMaterialResourceID()
void setMaterialResourceID ( ResourceID  value)

Sets the value of MaterialProperty.

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

Variable Documentation

PropertyType<ResourceID> MeshProperty
static

Mesh property.

The default value is ResourceID().

See also
setMeshResourceID(), getMeshResourceID()
PropertyType<ResourceID> MaterialProperty
static

Material property.

The default value is ResourceID().

See also
setMaterialResourceID(), getMaterialResourceID()
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()