◆ HasColor()

bool HasColor ( int  matIndex)
Parameters
matIndexwhich material to check
Returns
True if a color can be retrieved/set on this material, false is not.

Implemented in CustomRenderer, and BaseRendererToGraphicsInterfaceAdapter< TRendererType >.

Referenced by MaterialPropertyBlockInterfaceExtensions.GetColor(), and MaterialPropertyBlockInterfaceExtensions.SetColor().

+ Here is the caller graph for this function: