Material Variant Switching

Switch between material variants based on conditions or state

LgrappaG 6b0ad9c 961 B Updated

File contents

Material Variant Switching

Switch between material variants based on conditions or state

Risk Level

LOW

Core Rules

  • Use material instances
  • plan variants logically
  • Test thoroughly before deploying

Response Pattern

When Using This Skill

  1. Create variants
  2. Validate the implementation
  3. Test edge cases and error conditions
  4. Ensure performance meets requirements

Usage Contexts

  • State changes
  • visual variety

What NOT to Do

  • Too many variants
  • performance overhead
  • Deploy without testing

Key Requirements

  • Understand the use cases before application
  • Follow the documented response pattern
  • Validate results in the target environment
  • Monitor for performance impact

Further Learning

Review related skills and documentation for deeper understanding of related systems and best practices.

LgrappaG/Workflows-Agents/tree/main/skills/material-variant-switching commit 6b0ad9cf9b

Frequently asked questions

npx skillmds@latest add lgrappag/material-variant-switching