|
static |
blockInterfaceToSet | the interface used to access the MultiMaterialPropertyBlock that holds the texture to be modified. |
matIndex | specifies which material in the interface to set the texture of |
tex | the new texture to assign |
References MaterialPropertyBlockInterfaceExtensions.defaultTextureID, IGraphicsMultiMaterialPropertyBlockInterface.GetPropertyBlock(), IGraphicsMultiMaterialPropertyBlockInterface.HasTexture(), MaterialPropertyBlockInterfaceExtensions.neverRunMaterialChecks, IGraphicsMultiMaterialPropertyBlockInterface.RebuildPropertyBlock(), and IGraphicsMultiMaterialPropertyBlockInterface.SetPropertyBlock().