A class that specifies information about a material in an acoustic simulation.
More...
#include <omSoundMaterial.h>
A class that specifies information about a material in an acoustic simulation.
om::sound::acoustics::base::SoundMaterial::SoundMaterial |
( |
| ) |
|
Create a sound material with the default initial state.
Size om::sound::acoustics::base::SoundMaterial::getAttributeCount |
( |
| ) |
const |
|
inline |
Return the number of attributes that this material has.
Return a reference to the attribute at the specified index in this material.
Return a const reference to the attribute at the specified index in this material.
Add a new attribute to this sound material.
void om::sound::acoustics::base::SoundMaterial::clearAttributes |
( |
| ) |
|
Remove all attributes from this material.
const UTF8String& om::sound::acoustics::base::SoundMaterial::getName |
( |
| ) |
const |
|
inline |
Return the name of this sound material.
void om::sound::acoustics::base::SoundMaterial::setName |
( |
const UTF8String & |
newName | ) |
|
|
inline |
Set the name of this sound material.
const UTF8String& om::sound::acoustics::base::SoundMaterial::getDescription |
( |
| ) |
const |
|
inline |
Return a text description of this sound material.
void om::sound::acoustics::base::SoundMaterial::setDescription |
( |
const UTF8String & |
newDescription | ) |
|
|
inline |
Set the text description of this sound material.
const Vector4f& om::sound::acoustics::base::SoundMaterial::getColor |
( |
| ) |
const |
|
inline |
Return an RGBA color that should be used when displaying this material.
void om::sound::acoustics::base::SoundMaterial::setColor |
( |
const Vector4f & |
newColor | ) |
|
|
inline |
Set an RGBA color that should be used when displaying this material.
const ResourceType om::sound::acoustics::base::SoundMaterial::RESOURCE_TYPE |
|
static |
The resource type for a sound material.
The documentation for this class was generated from the following file: