Summary
A
FlexiMotion.Editor.SphereVisualiser for FlexiMotion.SpringDefinitions.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Editor - Base Types
-
- Object
- CustomSceneGui
- SphereVisualiser
graph BT
Type-->Base0["SphereVisualiser"]
click Base0 "/flexi-motion/api/FlexiMotion.Editor/SphereVisualiser"
Base0-->Base1["CustomSceneGui"]
click Base1 "/flexi-motion/api/FlexiMotion.Editor/CustomSceneGui"
Base1-->Base2["Object"]
Type["SpringVisualiser"]
class Type type-node
Syntax
public class SpringVisualiser : SphereVisualiser
Events
| Name | Type | Summary |
|---|---|---|
| OnSceneGui | Action |
The method which will be called by
UnityEditor.SceneView.duringSceneGui.Inherited from CustomSceneGui
|
Fields
| Name | Constant Value | Summary |
|---|---|---|
| FrameSizeMultiplier | 4 |
The multiplier for object size used to determine how far to zoom out when framing.
Inherited from SphereVisualiser
static
|
| SphereAlpha | 0.5 |
The default alpha to use for spheres.
Inherited from SphereVisualiser
static
|
| SphereHandles |
All of the handles currently being visualised.
Inherited from SphereVisualiser
|
Properties
| Name | Value | Summary |
|---|---|---|
| IsEnabled | bool |
Is this GUI currently visible in the
UnityEditor.SceneView?Inherited from CustomSceneGui
|
| Root | Transform |
The object at the top of the hierarchy which will be framed if no target is specified.
Inherited from SphereVisualiser
|
| Springs | SpringDefinitions |
The target
FlexiMotion.SpringDefinitions being visualised. |
| Target | SphereHandle |
The handle which the mouse is currently pointing at.
Inherited from SphereVisualiser
|
Methods
| Name | Value | Summary |
|---|---|---|
| DoSceneGUI |
void |
Draws the
FlexiMotion.Editor.SphereVisualiser.SphereHandles and FlexiMotion.Editor.SphereVisualiser.Target.Inherited from SphereVisualiser
|
| GatherHandles |
void |
Updates the
FlexiMotion.Editor.SphereVisualiser.SphereHandles list. |
| GetMousePosition |
Vector2 |
Get the current mouse position corrected for the `sceneView`.
Inherited from CustomSceneGui
static
|
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
|