Summary
[
System.SerializableAttribute]
Data from which a FlexiMotion.FlexiMotionRuntime can be initialized.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
- Interfaces
-
- ICopyable
<Flexi Motion >Definition - I
Serialization Callback Receiver
- ICopyable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ICopyable<FlexiMotionDefinition>"]
Type-.->Interface1["ISerializationCallbackReceiver"]
Type["FlexiMotionDefinition"]
class Type type-node
Syntax
[Serializable]
public class FlexiMotionDefinition : ICopyable<FlexiMotionDefinition>,
ISerializationCallbackReceiver
Attributes
| Type | Description |
|---|---|
| Serializable |
Properties
| Name | Value | Summary |
|---|---|---|
| ActionOnDisable | ActionOnDisable |
[
UnityEngine.SerializeField]
Determines what happens when the FlexiMotion.FlexiMotionComponent component is disabled or its
UnityEngine.GameObject becomes inactive (i.e. in OnDisable).
|
| Springs | SpringDefinitions |
[
UnityEngine.SerializeField] Details of the individual simulated objects. |
| UpdateMode | AnimatorUpdateMode |
[
UnityEngine.SerializeField]
Determines when the simulation will be updated and how its delta time is calculated.
|
| UpdatesPerSecond | float |
[
UnityEngine.SerializeField] Determines how often the simulation will be updated. |
Methods
| Name | Value | Summary |
|---|---|---|
| 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 fields in `other`?
|
| Equals |
bool |
Are all fields in this object equal to the equivalent fields in `obj`?
|
| GetHashCode |
int |
Returns a hash code based on the values of this object's fields.
|
| OnDisable |
void |
Executes the
FlexiMotion.FlexiMotionDefinition.ActionOnDisable. |
| OnReEnable |
void |
Handles any necessary operations for the
FlexiMotion.FlexiMotionDefinition.ActionOnDisable when the `runtime` will be enabled
after having previously been disabled (i.e. not the first time it's enabled after being created).
|
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
|