Summary
An
FlexiMotion.Editor.TransformTreeWindow`2
for editing spring definitions.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Editor - Interfaces
- Base Types
-
- EditorWindow
- TransformTreeWindow
<I Flexi ,Motion Component SpringDefinitions>
graph BT
Type-->Base0["TransformTreeWindow<IFlexiMotionComponent, SpringDefinitions>"]
Base0-->Base1["EditorWindow"]
Type-.->Interface0["ITransformTreeViewSource"]
click Interface0 "/flexi-motion/api/FlexiMotion.Editor/ITransformTreeViewSource"
Type["SpringDefinitionsWindow"]
class Type type-node
Syntax
public class SpringDefinitionsWindow :
TransformTreeWindow<IFlexiMotionComponent, SpringDefinitions>, ITransformTreeViewSource
Properties
Name | Value | Summary |
---|---|---|
TargetDefinition | SpringDefinitions |
The
FlexiMotion.Editor.TransformTreeWindow`2.Definition field of the FlexiMotion.Editor.TransformTreeWindow`2.Target . |
Transforms | IList |
The objects to show in the view.
|
Methods
Name | Value | Summary |
---|---|---|
CreateColumns |
Multi |
Creates the columns for the
FlexiMotion.Editor.TransformTreeWindow`2.TreeView to use. |
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
FlexiMotion.Editor.TransformTreeWindow`2.TreeView . |
Initialize |
void |
Initializes this window if the
FlexiMotion.Editor.TransformTreeWindow`2.Target has been set. |
OnDisable |
void |
Cleans up this window.
|
OnEnable |
void |
Initializes this window.
|
OnGUI |
void |
Draws the GUI of this window.
|
SetIncluded |
void |
Adds or removes an item from the
FlexiMotion.Editor.TransformTreeWindow`2.Definition . |
Extension Methods
Name | Value | Summary |
---|---|---|
LogTemp |
T |
Debug.Log(message, context) with an [System.ObsoleteAttribute ] warning so you remember
to remove any calls.
From FMUtilities
|
SafeGetHashCode |
int |
Uses
System.Collections.Generic.EqualityComparer`1.Default to get a hash code.From FMUtilities
|