s&box docs

public abstract class Sandbox.AnimGraphDirectPlayback

For communicating with a Direct Playback Anim Node, which allows code to tell it to play a given sequence

Constructors

Showing 1 constructors

Methods

Showing 3 methods

public virtual void Cancel()

Stop playing the override sequence.

Properties

Showing 8 properties

public virtual int Sandbox.AnimGraphDirectPlayback.AnimationCount { get; set; }Obsolete

Get the number of animations that can be used.

Obsolete: Use Sequences

public virtual System.Collections.Generic.IEnumerable`1<string> Sandbox.AnimGraphDirectPlayback.Animations { get; set; }Obsolete

Get the list of animations that can be used.

Obsolete: Use Sequences

public virtual float Sandbox.AnimGraphDirectPlayback.Duration { get; set; }

The duration of the currently playing sequence (seconds)

public virtual System.Collections.Generic.IReadOnlyList`1<string> Sandbox.AnimGraphDirectPlayback.Sequences { get; set; }

Get the list of sequences that can be used.

public virtual float Sandbox.AnimGraphDirectPlayback.StartTime { get; set; }

Set the time at which the currently playing sequence should have had a cycle of zero. This will adjust the current cycle of the sequence to match.

public virtual float Sandbox.AnimGraphDirectPlayback.Time { get; set; }

The elapsed time of the currently playing animation sequence (seconds)

public virtual float Sandbox.AnimGraphDirectPlayback.TimeNormalized { get; set; }

Get the cycle of the currently playing sequence. Will return 0 if no sequence is playing.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.AnimGraphDirectPlayback

On this page