Summary
[Editor-Only]
A custom Inspector for an
Animancer.AnimancerLayer
which sorts and exposes some of its internal values.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Interfaces
- Base Types
-
- Object
- AnimancerNodeDrawer
<AnimancerLayer>
graph BT
Type-->Base0["AnimancerNodeDrawer<AnimancerLayer>"]
Base0-->Base1["Object"]
Type-.->Interface0["IAnimancerNodeDrawer"]
click Interface0 "/animancer-v7-4/api/Animancer.Editor/IAnimancerNodeDrawer"
Type["AnimancerLayerDrawer"]
class Type type-node
Syntax
public class AnimancerLayerDrawer : AnimancerNodeDrawer<AnimancerLayer>, IAnimancerNodeDrawer
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 . |
Properties
Name | Value | Summary |
---|---|---|
RegionStyle | GUIStyle |
The
UnityEngine.GUIStyle used for the area encompassing this drawer is UnityEngine.GUISkin.box . |
Methods
Name | Value | Summary |
---|---|---|
DoDetailsGUI |
void |
Draws the details of the
Animancer.Editor.AnimancerNodeDrawer`1.Target in the GUI. |
DoFoldoutGUI |
void |
Draws a foldout arrow to expand/collapse the node details.
|
DoGUI |
void |
Draws the details and controls for the target
Animancer.Editor.AnimancerNodeDrawer`1.Target in the Inspector. |
DoHeaderGUI |
void |
Draws the name and other details of the
Animancer.Editor.AnimancerNodeDrawer`1.Target in the GUI.
|
DoLabelGUI |
void |
Draws the layer's name and weight.
|
Handle |
void |
If
UnityEngine.AnimationClip s or UnityEngine.IAnimationClipSource s are dropped inside the `dropArea`,
this method creates a new state in the `target` for each animation.
static
|
PopulateContextMenu |
void |
Adds functions relevant to the
Animancer.Editor.AnimancerNodeDrawer`1.Target . |