Summary
A utility for building
FlexiMotion.Modifiers.SphereColliderDefinitions
.- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Modifiers - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["SphereColliderDefinitionsBuilder"]
class Type type-node
Syntax
public class SphereColliderDefinitionsBuilder
Fields
Name | Constant Value | Summary |
---|---|---|
Spheres |
The list which will set the
FlexiMotion.Modifiers.SphereColliderDefinitions.Spheres . |
|
Transforms |
The list which will set the
FlexiMotion.Modifiers.SphereColliderDefinitions.Transforms . |
Properties
Name | Value | Summary |
---|---|---|
Count | int |
The number of colliders.
|
Methods
Name | Value | Summary |
---|---|---|
Add |
int |
Adds a new collider.
|
Build |
Sphere |
Creates a new
FlexiMotion.Modifiers.SphereColliderDefinitions with the contents of this builder. |
Clear |
void |
Removes all colliders.
|
GetUsedBones |
IEnumerable |
Returns the objects that are used by this modifier.
|
Remove |
bool |
Removes the collider with the specified `transform` and returns true if it was present.
|
RemoveAt |
void |
Removes the collider at the specified `index`.
|
TryGet |
bool |
If a collider exists at the specified `index` and has a
UnityEngine.Transform , this method outputs its
details and returns true.
|
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
|