Version: 5.5
Experimental: this API is experimental and might be changed or removed in the future.

Experimental.Director.Playable.PrepareFrame(FrameData)

Switch to Manual

Parameters

info Data for the current frame.

Description

Prepares the Playable tree for the next frame. PrepareFrame is called before the tree is evaluated.

Each Playable in a tree will have its PrepareFrame callback called every frame. When this happens, the Playable can make connection changes, like connect or disconnect children Playables. The PrepareFrame stage is also the proper time for setting the weights or local time on input connections.