Summary
An
FlexiMotion.Editor.TransformTreeWindow`2
for editing sphere colliders.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Editor - Interfaces
- Base Types
-
- EditorWindow
- TransformTreeWindow
<I Sphere ,Colliders Modifier Sphere Collider >Definitions
graph BT
Type-->Base0["TransformTreeWindow<ISphereCollidersModifier, SphereColliderDefinitions>"]
Base0-->Base1["EditorWindow"]
Type-.->Interface0["ITransformTreeViewSource"]
click Interface0 "/flexi-motion/api/FlexiMotion.Editor/ITransformTreeViewSource"
Type["SphereColliderDefinitionsWindow"]
class Type type-node
Syntax
public class SphereColliderDefinitionsWindow :
TransformTreeWindow<ISphereCollidersModifier, SphereColliderDefinitions>,
ITransformTreeViewSource
Properties
Name | Value | Summary |
---|---|---|
TargetDefinition | Sphere |
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 |
---|---|---|
AddItem |
TreeViewItem |
Adds an item for the `transform` to be displayed in the view.
|
AddItems |
void |
Adds the items to be displayed in the view.
|
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 . |
GetDefinitionIndex |
int |
Gets the index in the
FlexiMotion.Editor.TransformTreeWindow`2.Definition corresponding to a row in the FlexiMotion.Editor.TransformTreeWindow`2.TreeView .
Returns -1 if the row isn't included.
|
GetRowColor |
Color |
Gets the color of a row in the
FlexiMotion.Editor.TransformTreeWindow`2.TreeView . |
GetTransformColor |
Color |
Returns a color based on the name of the `transform`.
static
|
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
|