WeightedMaskLayersDefinitionWindow Class

Summary

An Animancer.Editor.TransformTreeWindow`2 for editing spring definitions.
graph BT Type-->Base0["TransformTreeWindow<WeightedMaskLayers, WeightedMaskLayersDefinition>"] Base0-->Base1["SerializedComponentDataEditorWindow<WeightedMaskLayers, WeightedMaskLayersDefinition>"] Base1-->Base2["SerializedDataEditorWindow<WeightedMaskLayers, WeightedMaskLayersDefinition>"] Base2-->Base3["EditorWindow"] Type-.->Interface0["ITransformTreeViewSource"] click Interface0 "/animancer/api/Animancer.Editor/ITransformTreeViewSource" Type["WeightedMaskLayersDefinitionWindow"] class Type type-node

Syntax

public class WeightedMaskLayersDefinitionWindow : 
    TransformTreeWindow<WeightedMaskLayers, WeightedMaskLayersDefinition>, ITransformTreeViewSource

Properties

Name Value Summary
SourceData WeightedMaskLayersDefinition
The Animancer.Editor.SerializedDataEditorWindow`2.Data field of the Animancer.Editor.SerializedDataEditorWindow`2.SourceObject.
Transforms IList<Transform>
The objects to show in the view.

Methods

Name Value Summary
Apply() void
Saves the edited Animancer.Editor.SerializedDataEditorWindow`2.Data into the Animancer.Editor.SerializedDataEditorWindow`2.SourceObject.
CreateColumns(float) MultiColumnHeaderState.Column[]
Creates the columns for the Animancer.Editor.TransformTreeWindow`2.TreeView to use.
DoFooterCenterGUI() void
Draws additional GUI controls in the center of the footer.
DrawCellGUI(Rect, int, int, TreeViewItem, bool) void
Draws a cell in the UnityEditor.IMGUI.Controls.TreeView.
GetChainColor(Transform, IList<Transform>, float) Color
Returns a color based on the name of the `transform`'s highest included parent.
static
GetChainRoot(Transform, IList<Transform>) Transform
Gets the highest parent of `transform` which is included in the `transforms`.
static
GetRowColor(TreeViewItem) Color
Gets the color of a row in the Animancer.Editor.TransformTreeWindow`2.TreeView.
RecordUndo(string) WeightedMaskLayersDefinition
Records the current state of this window so it can be undone later.
Revert() void
SetIncluded(int, int, bool) void
Adds or removes an item from the Animancer.Editor.SerializedDataEditorWindow`2.Data.