TakeSnapshot(float)
Forwards the animation by dt seconds, then record the values of the added bindings.
阅读时间1 分钟最后更新于 1 个月前
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.