◆ GetColor() [2/2]

static Color GetColor ( this IGraphicsMultiMaterialPropertyBlockInterface  blockInterfaceGetColorFrom,
int  matIndex 
)
static
Parameters
blockInterfaceGetColorFromthe interface used to access the MultiMaterialPropertyBlock that holds the color to be modified.
matIndexspecifies which material in the interface to get the color of
Returns
The color found in the MaterialPropertyBlockInterface specified by the matIndex parameter, via the blockInterfaceToGetTextureFrom.

References MaterialPropertyBlockInterfaceExtensions.defaultColorID, IGraphicsMultiMaterialPropertyBlockInterface.GetPropertyBlock(), IGraphicsMultiMaterialPropertyBlockInterface.HasColor(), and MaterialPropertyBlockInterfaceExtensions.neverRunMaterialChecks.

+ Here is the call graph for this function: