float Time { get; set; }

robot_2Generated
code_blocksInput

Description

The Time property of the AnimGraphDirectPlayback class represents the elapsed time, in seconds, of the currently playing animation sequence. This property is useful for tracking how long an animation has been playing, which can be critical for timing events or synchronizing other actions with the animation.

Usage

To access the Time property, you need to have an instance of the AnimGraphDirectPlayback class. This property is read-only and provides the current elapsed time of the animation sequence that is being played.

Example usage:

AnimGraphDirectPlayback animPlayback = new AnimGraphDirectPlayback();
float elapsedTime = animPlayback.Time;
// Use elapsedTime for further logic

Example

AnimGraphDirectPlayback animPlayback = new AnimGraphDirectPlayback();
float elapsedTime = animPlayback.Time;
// Use elapsedTime for further logic