Summary
A wrapper for drawing spheres in the scene view.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Editor - Base Types
-
- ValueType
graph BT
Type-->Base0["ValueType"]
Type["SphereHandle"]
class Type type-node
Syntax
public struct SphereHandle : ValueType
Constructors
Name | Summary |
---|---|
SphereHandle |
Creates a new FlexiMotion.Editor.SphereHandle . |
Fields
Name | Constant Value | Summary |
---|---|---|
color |
The color of the sphere.
|
|
localPosition |
The position of the sphere relative to the
FlexiMotion.Editor.SphereHandle.transform . |
|
radius |
The size of the sphere.
|
|
transform |
The object the sphere is attached to.
|
Properties
Name | Value | Summary |
---|---|---|
IsValid | bool |
Can this handle be drawn?
|
WorldPosition | Vector3 |
The world position of the sphere.
|
Methods
Name | Value | Summary |
---|---|---|
DrawHandle |
void |
Draws the sphere using its
FlexiMotion.Editor.SphereHandle.color . |
DrawHandle |
void |
Draws the sphere in the given `color`.
|
DrawHandles |
void |
Calls
FlexiMotion.Editor.SphereHandle.DrawHandle on each of the `spheres`.static
|
Equals |
bool |
Are all fields in this object equal to the equivalent fields in `obj`?
|
Equals |
bool |
Are all fields in this object equal to the equivalent fields in `other`?
|
GetHashCode |
int |
Returns a hash code based on the values of this object's fields.
|
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |
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
|