|
static |
blockInterfaceToSet | the interface used to access the MultiMaterialPropertyBlock that holds the color to be modified. |
matIndex | specifies which material in the interface to adjust the color of |
color | the new color to assign |
References MaterialPropertyBlockInterfaceExtensions.defaultColorID, IGraphicsMultiMaterialPropertyBlockInterface.GetPropertyBlock(), IGraphicsMultiMaterialPropertyBlockInterface.HasColor(), MaterialPropertyBlockInterfaceExtensions.neverRunMaterialChecks, and IGraphicsMultiMaterialPropertyBlockInterface.SetPropertyBlock().