Show / Hide Table of Contents

Class MaterialExtension

Inheritance
System.Object
MaterialExtension
Namespace: Mixture
Assembly: Mixture.Runtime.dll
Syntax
public static class MaterialExtension

Methods

| Improve this Doc View Source

HasTextureBound(Material, String, TextureDimension)

Declaration
public static bool HasTextureBound(this Material material, string baseName, TextureDimension dimension)
Parameters
Type Name Description
UnityEngine.Material material
System.String baseName
UnityEngine.Rendering.TextureDimension dimension
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetKeywordEnabled(Material, String, Boolean)

Declaration
public static void SetKeywordEnabled(this Material material, string keyword, bool enabled)
Parameters
Type Name Description
UnityEngine.Material material
System.String keyword
System.Boolean enabled
  • Improve this Doc
  • View Source
Back to top Generated by DocFX