Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProcessFrame(Playable, FrameData, object)

This function is called during the ProcessFrame phase of the PlayableGraph.
Read time 1 minuteLast updated 6 days ago

Definition

ProcessFrame(Playable, FrameData, Object)

public virtual void ProcessFrame(Playable playable, FrameData info, object playerData)

Parameters

playable

The Playable that owns the current PlayableBehaviour.

A FrameData structure that contains information about the current frame context.

playerData

The user data of the ScriptPlayableOutput that initiated the process pass.

Remarks

ProcessFrame is the stage at which your Playable does its work.
This method is called for each frame when a Playable plays and is connected, directly or indirectly, to a ScriptPlayableOutput.