CanvasMaterialAnimatorBase.BuildPreviewGraph(PlayableGraph, Playable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)