Class MaterialUtils
Runtime Material utilities.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class MaterialUtils
Methods
Name | Description |
---|---|
Add |
Adds a material to this renderer's array of shared materials. |
Clone |
Clones and replaces all materials assigned to a Renderer |
Get |
Clones and replaces the material assigned to a Renderer. |
Get |
Clones and replaces the material assigned to a Graphic. |
Hex |
Converts an RGB or RGBA formatted hex string to a Color object. |
Hue |
Shift the hue of a color by a given amount. |