AnimGraphDirectPlaybackclass

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

objectAnimGraphDirectPlayback
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public abstract class Sandbox.AnimGraphDirectPlayback

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

public virtual void Cancel()PUBLICVIRTUAL

Stop playing the override sequence.

Returns:void

Properties8

Showing 8 properties

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

Get the number of animations that can be used.

Obsolete: Use Sequences

Returns:int

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

Get the list of animations that can be used.

Obsolete: Use Sequences

Returns:IEnumerable<string>

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

The duration of the currently playing sequence (seconds)

Returns:float

public virtual string Sandbox.AnimGraphDirectPlayback.Name { get; set; }PUBLICVIRTUALGETSET

Returns the currently playing sequence.

Returns:string

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

Get the list of sequences that can be used.

Returns:IReadOnlyList<string>

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

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.

Returns:float

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

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

Returns:float

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

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

Returns:float

On this page