ColladaAppMaterial
Engine/source/ts/collada/colladaAppMaterial.h
Public Attributes
bool
domEffect *
Collada
effect extension
Public Functions
ColladaAppMaterial(const char * matName)
ColladaAppMaterial(const domMaterial * pMat)
Material *
createMaterial(const Torque::Path & path)
resolveColor(const domCommon_color_or_texture_type * value, LinearColorF * dst)
resolveFloat(const domCommon_float_or_param_type * value, F32 * dst)
resolveTransparency(const T shader, F32 * dst)
Detailed Description
Public Attributes
LinearColorF diffuseColor
String diffuseMap
bool doubleSided
domEffect * effect
Collada
ColladaExtension_effect * effectExt
effect extension
const domMaterial * mat
Collada
F32 metalness
String name
Name of this material (cleaned)
String normalMap
F32 roughness
Public Functions
ColladaAppMaterial(const char * matName)
ColladaAppMaterial(const domMaterial * pMat)
~ColladaAppMaterial()
createMaterial(const Torque::Path & path)
getName()
Reimplemented from: AppMaterial
resolveColor(const domCommon_color_or_texture_type * value, LinearColorF * dst)
resolveFloat(const domCommon_float_or_param_type * value, F32 * dst)
resolveTransparency(const T shader, F32 * dst)