MaterialVariantGroup Class

Summary

[Editor-Only] A utility for automatically swapping materials based on supported shaders.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
  • ScriptableObject
graph BT Type-->Base0["ScriptableObject"] Type["MaterialVariantGroup"] class Type type-node

Syntax

[AnimancerHelpUrl(typeof(MaterialVariantGroup))]
public class MaterialVariantGroup : ScriptableObject

Remarks

This system is used to allow materials to be used in any render pipeline.

Attributes

Type Description
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Properties

Name Value Summary
Material Material
The target material.
Variants Material[]
The variants to try applying to the target material.