Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayableBehaviour.PrepareFrame

public void PrepareFrame(Playables.Playable playable, Playables.FrameData info);

Parameters

playable The Playable that owns the current PlayableBehaviour.
info A FrameData structure that contains information about the current frame context.

Description

This function is called during the PrepareFrame phase of the PlayableGraph.

PrepareFrame should be used to do topological modifications, change connection weights, time changes , etc.

Did you find this page useful? Please give it a rating: