AnimancerLayerDrawer Class

Summary

[Editor-Only] A custom Inspector for an Animancer.AnimancerLayer which sorts and exposes some of its internal values.
graph BT Type-->Base0["AnimancerNodeDrawer<AnimancerLayer>"] Base0-->Base1["CustomGUI<AnimancerLayer>"] Base1-->Base2["Object"] Type-.->Interface0["ICustomGUI"] click Interface0 "/animancer/api/Animancer.Editor/ICustomGUI" Type["AnimancerLayerDrawer"] class Type type-node

Syntax

[CustomGUI(typeof(AnimancerLayer))]
public class AnimancerLayerDrawer : AnimancerNodeDrawer<AnimancerLayer>, ICustomGUI

Attributes

Type Description
CustomGUIAttribute [Editor-Only] Attribute for classes which implement Animancer.Editor.CustomGUI`1 to specify the type of objects they apply to.

Fields

Name Constant Value Summary
ActiveStates
The states in the target layer which have non-zero Animancer.AnimancerNode.Weight.
InactiveStates
The states in the target layer which have zero Animancer.AnimancerNode.Weight.