Summary
An
Animancer.Editor.TransformTreeWindow`2 for editing spring definitions.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Interfaces
- Base Types
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 | Weighted |
The
Animancer.Editor.SerializedDataEditorWindow`2.Data field of the Animancer.Editor.SerializedDataEditorWindow`2.SourceObject. |
| Transforms | IList |
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 |
Multi |
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 |
void |
Draws a cell in the
UnityEditor.IMGUI.Controls.TreeView. |
| GetChainColor |
Color |
Returns a color based on the name of the `transform`'s highest included parent.
static
|
| GetChainRoot |
Transform |
Gets the highest parent of `transform` which is included in the `transforms`.
static
|
| GetRowColor |
Color |
Gets the color of a row in the
Animancer.Editor.TransformTreeWindow`2.TreeView. |
| RecordUndo |
Weighted |
Records the current state of this window so it can be undone later.
|
| Revert |
void | |
| SetIncluded |
void |
Adds or removes an item from the
Animancer.Editor.SerializedDataEditorWindow`2.Data. |