chrono::ChVisualMaterial Class Reference


Class for setting a color (used by ChVisualization)

#include <ChVisualMaterial.h>

Inheritance diagram for chrono::ChVisualMaterial:
Collaboration diagram for chrono::ChVisualMaterial:

Public Member Functions

 ChVisualMaterial ()
void SetAmbientColor (ChVector< float > rgb)
void SetDiffuseColor (ChVector< float > rgb)
void SetSpecularColor (ChVector< float > rgb)
void SetSpecularExponent (float exponent)
void SetTransparency (float tr)
void SetKdTexture (std::string filename)
void SetKsTexture (std::string filename)
void SetNormalMapTexture (std::string filename)
void SetMetallicTexture (std::string filename)
void SetRoughnessTexture (std::string filename)
void SetOpacityTexture (std::string filename)
void SetFresnelExp (float exp)
void SetFresnelMax (float max)
void SetFresnelMin (float min)
void SetRoughness (float r)
void SetMetallic (float m)
void SetUseSpecularWorkflow (bool s)
void SetClassID (unsigned short int id)
void SetInstanceID (unsigned short int id)
ChVector< float > GetAmbientColor ()
ChVector< float > GetDiffuseColor ()
ChVector< float > GetSpecularColor ()
float GetSpecularExponent ()
float GetTransparency ()
std::string GetKdTexture ()
std::string GetKsTexture ()
std::string GetNormalMapTexture ()
std::string GetMetallicTexture ()
std::string GetRoughnessTexture ()
std::string GetOpacityTexture ()
float GetFresnelExp ()
float GetFresnelMax ()
float GetFresnelMin ()
float GetRoughness ()
float GetMetallic ()
bool GetUseSpecularWorkflow ()
unsigned short int GetClassID ()
unsigned short int GetInstanceID ()
- Public Member Functions inherited from chrono::ChAsset
virtual void Update (ChPhysicsItem *updater, const ChCoordsys<> &coords)
 This is called by the owner, i.e. More...
virtual void ArchiveOUT (ChArchiveOut &marchive)
 Method to allow serialization of transient data to archives.
virtual void ArchiveIN (ChArchiveIn &marchive)
 Method to allow de serialization of transient data from archives.

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/assets/ChVisualMaterial.h
  • /builds/uwsbel/chrono/src/chrono/assets/ChVisualMaterial.cpp