Atoms Crowd  7.0.0
Atoms::MaterialOverride Class Reference

Public Member Functions

 MaterialOverride (AgentTypeVariationCPtr vt)
 
void hash (AtomsCore::MurmurHash3 &hasher) const
 
unsigned int numMaterials () const
 Gets the number of materials.
 
bool hasMaterial (const std::string &materialName) const
 Checks if this object contains this materia.
 
void addMaterial (const std::string &materialName, const double weight=1.0)
 Adds a material.
 
const std::string & getMaterialNameAtIndex (unsigned int index) const
 Gets a material name.
 
const double getMaterialWeightAtIndex (unsigned int index) const
 Gets a material weight.
 
bool removeMaterialAtIndex (unsigned int index)
 Removes a geometry filter.
 

The documentation for this class was generated from the following files: