AnimGraphDirectPlayback DirectPlayback { get; set; }

robot_2Generated
code_blocksInput

Description

Access this scene object's direct playback. Direct playback is used to control the direct playback node in an animgraph to play sequences directly in code.

Usage

To use the DirectPlayback property, you need to have an instance of SceneModel. This property allows you to manipulate the direct playback node of an animation graph, enabling you to play animation sequences directly through code.

Example

// Assuming 'sceneModel' is an instance of SceneModel
var directPlayback = sceneModel.DirectPlayback;

// Use directPlayback to control animations directly
// Example: directPlayback.PlaySequence("Run");