25#ifndef ODTRVISMATERIALDEF
26#define ODTRVISMATERIALDEF
64 void setDefault(
float channelColor = 0.0f,
float blendFactor = 1.0f,
float channelValue = 0.0f)
89 void setDefault(
float realisticColor = 0.0f,
float shadingColor = 0.0f,
float blendFactor = 1.0f,
float channelValue = 0.0f)
const OdTrVisId kTrVisNullId
OD_FORCEINLINE bool OdTrVisFPZero(float a, float tol=1.e-8f)
enum OdTrVisMaterialChannelComponent::WrapType m_vWrap
OdTrVisMaterialColor m_channelColor
void setDefault(float channelColor=0.0f, float blendFactor=1.0f, float channelValue=0.0f)
enum OdTrVisMaterialChannelComponent::WrapType m_uWrap
OdTrVisTextureId m_textureId
void shadingFromRealistic()
bool hasShadingComponent() const
void setDefault(float realisticColor=0.0f, float shadingColor=0.0f, float blendFactor=1.0f, float channelValue=0.0f)
void realisticFromShading()
OdTrVisMaterialChannelComponent m_realisticComponent
OdTrVisMaterialChannelComponent m_shadingComponent
OdTrVisMaterialChannelDef m_normMapChannel
OdTrVisMaterialChannelDef m_bumpMapChannel
OdTrVisMaterialChannelDef m_reflectChannel
OdTrVisMaterialChannelDef m_refractChannel
OdTrVisMaterialChannelDef m_emissionChannel
OdTrVisMaterialChannelDef m_ambientChannel
OdTrVisMaterialChannelDef m_diffuseChannel
void shadingFromRealistic()
OdTrVisMaterialChannelDef m_opacityChannel
void realisticFromShading()
OdTrVisMaterialChannelDef m_specularChannel
OdTrVisMaterialChannelDef m_tintChannel