Unity - Scripting API: AnimationMode.SamplePlayableGraph(GameObject,PlayableGraph,int,float)

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Parameters

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

Description

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