Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BuildPreviewGraph(PlayableGraph, Playable)

Appends custom Playable nodes to the Animation window PlayableGraph.
Read time 1 minuteLast updated 6 days ago

Definition

Playable BuildPreviewGraph(PlayableGraph graph, Playable inputPlayable)

Parameters

The Animation window PlayableGraph.

inputPlayable

Current root of the PlayableGraph.

Returns

Type

Description

PlayableReturns the new root of the PlayableGraph.

Remarks

The Animation window calls this function when it samples an AnimationClip for the first time. Note: This does not support legacy Animation clips.