IGraphicsMaterialPropertyBlockInterface Interface Reference

Interface that provides a standard way to access the material property block on various renderer materials.

Public Member Functions

void GetPropertyBlock (out MaterialPropertyBlock dest)
 Matches the form of the unity Renderer function of the same name.
 
bool HasColor ()
 Specifies if the material this instance uses has a _Color
 
bool HasTexture ()
 Specifies if the material this instance uses has a _MainTexture
 
void RebuildPropertyBlock ()
 This function will be invoked wen the property block needs to be rebuilt. For example, if it contains a texture, and a texture is added
 
void SetPropertyBlock (MaterialPropertyBlock dest)
 Matches the form of the unity Renderer function of the same name.
 
+ Inheritance diagram for IGraphicsMaterialPropertyBlockInterface: