Skip to content

πŸ›  API Reference

Dennis edited this page Feb 2, 2025 · 3 revisions

πŸ›  API Reference

πŸ”Ή SetFloat()

public void SetFloat(string propertyName, float value);

** Example:**

UIMaterialModifier.SetFloat("_Saturation", 1.5f);

πŸ”Ή SetColor()

public void SetColor(string propertyName, Color color);

πŸ”Ή SetVector4()

public void SetVector4(string propertyName, Vector4 value);

πŸ”Ή SetInt()

public void SetInt(string propertyName, int value);

πŸ“¦ Installation | πŸš€ Getting Started | πŸ“Œ Shader Property Support |

Clone this wiki locally