Summary
[
System.SerializableAttribute
]
Data from which a FlexiMotion.Modifiers.RuntimeSphereColliders
can be initialized.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Modifiers - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ICopyable<SphereColliderDefinitions>"]
Type-.->Interface1["IValidatable"]
click Interface1 "/flexi-motion/api/FlexiMotion/IValidatable"
Type["SphereColliderDefinitions"]
class Type type-node
Syntax
[Serializable]
public class SphereColliderDefinitions : ICopyable<SphereColliderDefinitions>, IValidatable
Attributes
Type | Description |
---|---|
Serializable |
Fields
Name | Constant Value | Summary |
---|---|---|
SpheresField | _Spheres |
The name of the serialized backing field of
FlexiMotion.Modifiers.SphereColliderDefinitions.Spheres .static
|
TransformsField | _Transforms |
The name of the serialized backing field of
FlexiMotion.Modifiers.SphereColliderDefinitions.Transforms .static
|
Properties
Name | Value | Summary |
---|---|---|
Count | int |
The number of colliders.
|
Spheres | SphereDefinition[] |
The details of each collider.
|
Transforms | Transform[] |
The
UnityEngine.Transform of each collider. |
Methods
Name | Value | Summary |
---|---|---|
Add |
int |
Adds a new collider.
|
CopyFrom |
void |
Copies the contents of `copyFrom` into this object, replacing its previous contents.
|
Equals |
bool |
Are all fields in this object equal to the equivalent 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.
|
GetUsedBones |
IEnumerable |
Returns the objects that are used by this modifier.
|
Remove |
void |
Removes the collider at the specified `index`.
|
RemoveMissing |
bool |
Removes any colliders with no
UnityEngine.Transform and returns true if any were removed. |
TryGet |
bool |
If a collider exists at the specified `index` and has a
UnityEngine.Transform , this method outputs its
details and returns true.
|
Validate |
bool |
Ensures that this object's fields have valid values and returns true if anything was changed.
|
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
|