virtual IMaterial *GetMaterial() { IMaterialVar *pVar = m_pLightPosition ? m_pLightPosition : m_pLightColor; if ( !pVar ) return NULL; return pVar->GetOwningMaterial(); }
IMaterial *CLampBeamProxy::GetMaterial() { if ( !m_pFadeValue ) return NULL; return m_pFadeValue->GetOwningMaterial(); }
IMaterial *CTeamMaterialProxy::GetMaterial() { if ( !m_FrameVar ) return NULL; return m_FrameVar->GetOwningMaterial(); }
IMaterial *CHeliBladeMaterialProxy::GetMaterial() { if ( !m_AlphaVar ) return NULL; return m_AlphaVar->GetOwningMaterial(); }
IMaterial *CStatusEffectSkinProxy::GetMaterial() { if ( !m_pDetail ) return NULL; return m_pDetail->GetOwningMaterial(); }
IMaterial *CViewModelInvisProxy::GetMaterial() { if ( !m_pPercentInvisible ) return NULL; return m_pPercentInvisible->GetOwningMaterial(); }
IMaterial *CShieldVisibilityProxy::GetMaterial() { if ( !m_AlphaVar ) return NULL; return m_AlphaVar->GetOwningMaterial(); }
IMaterial *CPupilProxy::GetMaterial() { if ( !m_pAnimatedTextureVar ) return NULL; return m_pAnimatedTextureVar->GetOwningMaterial(); }
IMaterial *CTextureScrollMaterialProxy::GetMaterial() { return m_pTextureScrollVar->GetOwningMaterial(); }
IMaterial *CPlayerLogoProxy::GetMaterial() { return m_pBaseTextureVar->GetOwningMaterial(); }
IMaterial *CWaterLODMaterialProxy::GetMaterial() { return m_pCheapWaterStartDistanceVar->GetOwningMaterial(); }
IMaterial *C_BloodyTextureProxy::GetMaterial() { return blendFactor->GetOwningMaterial(); }
IMaterial *CAccumBuffProxy::GetMaterial() { return m_pAccumBuffWeights ? m_pAccumBuffWeights->GetOwningMaterial() : NULL; }
IMaterial *CWorldDimsProxy::GetMaterial() { return m_pMinsVar->GetOwningMaterial(); }
IMaterial *CConveyorMaterialProxy::GetMaterial() { return m_pTextureScrollVar ? m_pTextureScrollVar->GetOwningMaterial() : NULL; }