virtual IMaterial *GetMaterial()
	{
		IMaterialVar *pVar = m_pLightPosition ? m_pLightPosition : m_pLightColor;
		if ( !pVar )
			return NULL;
		return pVar->GetOwningMaterial();
	}
예제 #2
0
IMaterial *CLampBeamProxy::GetMaterial()
{
	if ( !m_pFadeValue )
		return NULL;

	return m_pFadeValue->GetOwningMaterial();
}
IMaterial *CTeamMaterialProxy::GetMaterial()
{
	if ( !m_FrameVar )
		return NULL;

	return m_FrameVar->GetOwningMaterial();
}
예제 #4
0
IMaterial *CHeliBladeMaterialProxy::GetMaterial()
{
	if ( !m_AlphaVar )
		return NULL;

	return m_AlphaVar->GetOwningMaterial();
}
예제 #5
0
IMaterial *CStatusEffectSkinProxy::GetMaterial()
{
	if ( !m_pDetail )
		return NULL;

	return m_pDetail->GetOwningMaterial();
}
예제 #6
0
IMaterial *CViewModelInvisProxy::GetMaterial()
{
    if ( !m_pPercentInvisible )
        return NULL;

    return m_pPercentInvisible->GetOwningMaterial();
}
예제 #7
0
IMaterial *CShieldVisibilityProxy::GetMaterial()
{
	if ( !m_AlphaVar )
		return NULL;

	return m_AlphaVar->GetOwningMaterial();
}
예제 #8
0
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();
}
예제 #11
0
IMaterial *CWaterLODMaterialProxy::GetMaterial()
{
	return m_pCheapWaterStartDistanceVar->GetOwningMaterial();
}
예제 #12
0
IMaterial *C_BloodyTextureProxy::GetMaterial()
{
    return blendFactor->GetOwningMaterial();
}
예제 #13
0
IMaterial *CAccumBuffProxy::GetMaterial()
{
	return m_pAccumBuffWeights ? m_pAccumBuffWeights->GetOwningMaterial() : NULL;
}
예제 #14
0
IMaterial *CWorldDimsProxy::GetMaterial()
{
    return m_pMinsVar->GetOwningMaterial();
}
예제 #15
0
IMaterial *CConveyorMaterialProxy::GetMaterial()
{
	return m_pTextureScrollVar ? m_pTextureScrollVar->GetOwningMaterial() : NULL;
}