TakeSnapshot(float)
Forwards the animation by dt seconds, then record the values of the added bindings.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
public void TakeSnapshot(float dt)
Parameters
Delta time.
Remarks
To add bindings, use the bindings methods: GameObjectRecorder.BindComponent, GameObjectRecorder.BindComponentsOfType, GameObjectRecorder.BindAll, or GameObjectRecorder.Bind.
Note that dt is not added the first time this function is called so that the clip will start at 0.0f. This means the forwarding only starts on the subsequent calls.