chrono::ChVisualMaterial Class Reference
Description
Definition of a visual material.
#include <ChVisualMaterial.h>
Public Member Functions | |
void | SetAmbientColor (const ChColor &rgb) |
void | SetDiffuseColor (const ChColor &rgb) |
void | SetSpecularColor (const ChColor &rgb) |
void | SetEmissiveColor (const ChColor &rgb) |
void | SetSpecularExponent (float exponent) |
void | SetOpacity (float o) |
void | SetIllumination (int i) |
void | SetKdTexture (const std::string &filename, float scale_x=1, float scale_y=1) |
void | SetKsTexture (const std::string &filename, float scale_x=1, float scale_y=1) |
void | SetNormalMapTexture (const std::string &filename, float scale_x=1, float scale_y=1) |
void | SetMetallicTexture (const std::string &filename, float scale_x=1, float scale_y=1) |
void | SetRoughnessTexture (const std::string &filename, float scale_x=1, float scale_y=1) |
void | SetOpacityTexture (const std::string &filename, float scale_x=1, float scale_y=1) |
void | SetWeightTexture (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) |
const ChColor & | GetAmbientColor () const |
const ChColor & | GetDiffuseColor () const |
const ChColor & | GetSpecularColor () const |
const ChColor & | GetEmissiveColor () const |
float | GetSpecularExponent () const |
float | GetOpacity () const |
int | GetIllumination () const |
const std::string & | GetKdTexture () const |
const std::string & | GetKsTexture () const |
const std::string & | GetNormalMapTexture () const |
const std::string & | GetMetallicTexture () const |
const std::string & | GetRoughnessTexture () const |
const std::string & | GetOpacityTexture () const |
const std::string & | GetWeightTexture () |
const ChVector2< float > & | GetKdTextureScale () const |
const ChVector2< float > & | GetKsTextureScale () const |
const ChVector2< float > & | GetNormalMapTextureScale () const |
const ChVector2< float > & | GetMetallicTextureScale () const |
const ChVector2< float > & | GetRoughnessTextureScale () const |
const ChVector2< float > & | GetOpacityTextureScale () const |
float | GetFresnelExp () const |
float | GetFresnelMax () const |
float | GetFresnelMin () const |
float | GetRoughness () const |
float | GetMetallic () const |
bool | GetUseSpecularWorkflow () const |
unsigned short int | GetClassID () const |
unsigned short int | GetInstanceID () const |
Static Public Member Functions | |
static std::shared_ptr< ChVisualMaterial > | Default () |
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