Share via


CanvasMaterialAnimatorBase.BuildPreviewGraph(PlayableGraph, Playable) Method

Definition

The Animation window calls this function when it samples an AnimationClip for the first time.

public UnityEngine.Playables.Playable BuildPreviewGraph (UnityEngine.Playables.PlayableGraph graph, UnityEngine.Playables.Playable inputPlayable);
abstract member BuildPreviewGraph : UnityEngine.Playables.PlayableGraph * UnityEngine.Playables.Playable -> UnityEngine.Playables.Playable
override this.BuildPreviewGraph : UnityEngine.Playables.PlayableGraph * UnityEngine.Playables.Playable -> UnityEngine.Playables.Playable
Public Function BuildPreviewGraph (graph As PlayableGraph, inputPlayable As Playable) As Playable

Parameters

graph
UnityEngine.Playables.PlayableGraph
inputPlayable
UnityEngine.Playables.Playable

Returns

UnityEngine.Playables.Playable

Implements

UnityEngine.Animations.IAnimationWindowPreview.BuildPreviewGraph(UnityEngine.Playables.PlayableGraph,UnityEngine.Playables.Playable)

Applies to