Version: 2023.2
言語: 日本語

AnimationMode.SamplePlayableGraph(GameObject,PlayableGraph,int,float)

マニュアルに切り替える

パラメーター

graph The PlayableGraph to sample.
index The output index to sample in the Playable Graph.
time The time at which to sample.

説明

Samples the specified output index of a PlayableGraph and also records modified properties when in Animation mode.

To successfully use this method, BeginSampling must be called before this method and EndSampling must be called after. If a property is no longer sampled (for example, through SampleAnimationClip, SamplePlayableGraph, or AddPropertyModification), the property reverts to its original value when EndSampling is called.