MaterialData
Fields
uint32_t | ambientRGBIndex |
uint32_t | diffuseRGBIndex |
uint32_t | emissiveRGBIndex |
uint32_t | specularRGBIndex |
double | ambientAlpha |
double | diffuseAlpha |
double | emissiveAlpha |
double | specularAlpha |
double | shininess |
Functions
MaterialData |
Detailed Description
-
struct
MaterialData
Material information comes from the HOOPS Exchange definition. Please refer to the Exchange documentation to get more information: http://docs.techsoft3d.com/exchange/latest/build/struct_a3_d_graph_material_data.html
Public Functions
-
inline
MaterialData
()
Public Members
-
uint32_t
ambientRGBIndex
Ambient color index in color table (0 first color in the table, 3 second color, 6 third color…)
-
uint32_t
diffuseRGBIndex
Diffuse color index in color table (0 first color in the table, 3 second color, 6 third color…)
-
uint32_t
emissiveRGBIndex
Emissive color index in color table (0 first color in the table, 3 second color, 6 third color…)
-
uint32_t
specularRGBIndex
Specular color index in color table (0 first color in the table, 3 second color, 6 third color…)
-
double
ambientAlpha
Ambient alpha value (valid values between 0.0 and 1.0)
-
double
diffuseAlpha
Diffuse alpha value (valid values between 0.0 and 1.0)
-
double
emissiveAlpha
Emissive alpha value (valid values between 0.0 and 1.0)
-
double
specularAlpha
Specular alpha value (valid values between 0.0 and 1.0)
-
double
shininess
Shininess (valid values between 0.0 and 1.0)
-
inline