BeginSampling()
Initialise the start of the animation clip sampling.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void BeginSampling()
Remarks
AnimationMode.BeginSampling arranges for the ::SampleAnimationClip to operate correctly. Not calling AnimationMode.BeginSampling prevents the animation data to be sampled. This function must be called immediately before the AnimationMode.SampleAnimationClip is called. See the script example on the AnimationMode page to see this behaviour.