Begin(ref AnimationStream)
Starts a mix and resets the output stream.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
Begin(AnimationStream)
public void Begin(ref AnimationStream output)
Parameters
The stream that accumulates the mixed result. The method overwrites its contents.
Remarks
Call this method before the first call to Core.PoseMixer.Add. It sets all channels of to zero and clears the weights that the mixer has collected, so the previous contents of the stream are lost. Finish the mix with .
outputEnd