Summary
A system for synchronizing the
Animancer.AnimancerState.NormalizedTime of certain animations.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- HashSet
<Object>
- HashSet
graph BT
Type-->Base0["HashSet<Object>"]
Type["TimeSynchronizationGroup"]
class Type type-node
Syntax
public class TimeSynchronizationGroup : HashSet<Object>
Examples
- Initialize a
by adding any objects you want to synchronize. - Call any of the
methods before playing a new animation. - Call any of the
methods after playing that animation.
Constructors
| Name | Summary |
|---|---|
| Time |
Creates a new Animancer.TimeSynchronizationGroup and sets its Animancer.TimeSynchronizationGroup.Animancer. |
Properties
| Name | Value | Summary |
|---|---|---|
| Animancer | AnimancerComponent |
The
Animancer.AnimancerComponent this group is synchronizing. |
| NormalizedTime | Nullable |
The stored
Animancer.AnimancerState.NormalizedTime or null if no value was stored. |
Methods
| Name | Value | Summary |
|---|---|---|
| StoreTime |
bool |
Stores the
Animancer.AnimancerState.NormalizedTime of the Animancer.TimeSynchronizationGroup.Animancer's current state if
the `key` is in this group.
|
| StoreTime |
bool |
Stores the
Animancer.AnimancerState.NormalizedTime of the `state` if the `key` is in this group.
|
| SyncTime |
bool |
Applies the
Animancer.TimeSynchronizationGroup.NormalizedTime to the Animancer.TimeSynchronizationGroup.Animancer's current state if the `key` is in
this group.
|
| SyncTime |
bool |
Applies the
Animancer.TimeSynchronizationGroup.NormalizedTime to the `state` if the `key` is in this group. |
| SyncTime |
bool |
Applies the
Animancer.TimeSynchronizationGroup.NormalizedTime to the `state` if the `key` is in this group. |
| SyncTime |
bool |
Applies the
Animancer.TimeSynchronizationGroup.NormalizedTime to the Animancer.TimeSynchronizationGroup.Animancer's current state if the `key` is in
this group.
|