◆ SetColor() [1/2]

static void SetColor ( this IGraphicsMaterialPropertyBlockInterface  blockInterfaceToSet,
Color  color 
)
static
Parameters
blockInterfaceToSetSpecifies the interface that implements the MaterialPropertyBlock to be modified.
colorcolor that will be assigned

References MaterialPropertyBlockInterfaceExtensions.defaultColorID, IGraphicsMaterialPropertyBlockInterface.GetPropertyBlock(), IGraphicsMaterialPropertyBlockInterface.HasColor(), MaterialPropertyBlockInterfaceExtensions.neverRunMaterialChecks, and IGraphicsMaterialPropertyBlockInterface.SetPropertyBlock().

+ Here is the call graph for this function: