Summary
A utility for building
FlexiMotion.SpringDefinitions.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["SpringDefinitionsBuilder"]
class Type type-node
Syntax
public class SpringDefinitionsBuilder
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Details |
The list which will set the
FlexiMotion.SpringDefinitions.Details. |
|
| Radii |
The list which will set the
FlexiMotion.SpringDefinitions.Radii. |
|
| Transforms |
The list which will set the
FlexiMotion.SpringDefinitions.Transforms. |
Properties
| Name | Value | Summary |
|---|---|---|
| Count | int |
The number of springs.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
void |
Adds a spring at the end of the lists.
|
| Build |
SpringDefinitions |
Creates a new
FlexiMotion.SpringDefinitions with the contents of this builder. |
| Clear |
void |
Removes all springs.
|
| Contains |
bool |
Does the
FlexiMotion.SpringDefinitionsBuilder.Transforms list contain the `transform`? |
| IndexOf |
int |
Returns the index of the `transform` in the
FlexiMotion.SpringDefinitionsBuilder.Transforms list. |
| Remove |
bool |
Removes the spring with the specified `transform` and returns true if it was present.
|
| RemoveAt |
void |
Removes the spring at the specified `index`.
|
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
|