Class Materials
Inheritance
System.Object
Materials
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class Materials
Methods
GetColor(Material)
Returns the color or tint color property for a material.
Declaration
public static Color GetColor(this Material material)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Material | material |
Returns
Type | Description |
---|---|
UnityEngine.Color |
SetColor(Material, Color)
Sets the color or tint color property for a material.
Declaration
public static void SetColor(this Material material, Color color)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Material | material | |
UnityEngine.Color | color |