Class AnimationPlayer.PlaybackClip
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Represents an animation clip with its playback state.
public record AnimationPlayer.PlaybackClip : IEquatable<AnimationPlayer.PlaybackClip>Inheritance
object ← AnimationPlayer.PlaybackClip
Implements
IEquatable<AnimationPlayer.PlaybackClip>
Constructors
PlaybackClip(AnimationBase)
Represents an animation clip with its playback state.
public PlaybackClip(AnimationBase Animation)Parameters
Animation AnimationBase
Properties
Animation
public AnimationBase Animation { get; init; }Property Value
BlendDuration
Gets or sets how long a AnimationPlayer.ClipTransition.Crossfade takes, in seconds.
public float BlendDuration { get; set; }Property Value
float
Driver
Gets or sets what recomputes this clip's AnimationPlayer.PlaybackClip.Weight and AnimationPlayer.PlaybackClip.Time from another clip's cycle. Null for a clip that plays on its own.
public AnimationPlayer.ClipDriver? Driver { get; set; }Property Value
Frame
Gets or sets the current frame index within the cycle being played.
public int Frame { get; set; }Property Value
int
IsAdditive
Gets or sets whether this clip should blend additively with other animations.
public bool IsAdditive { get; set; }Property Value
bool
IsDriven
Gets whether another clip drives this one.
public bool IsDriven { get; }Property Value
bool
IsPaused
Gets or sets whether playback is paused.
public bool IsPaused { get; set; }Property Value
bool
Looping
Gets or sets whether the clip should loop when reaching the end.
public bool Looping { get; set; }Property Value
bool
MaskName
Gets or sets the mask scoping this clip per bone and per flex controller. Empty for no mask.
public string MaskName { get; set; }Property Value
string
Time
Gets or sets the current playback time in seconds.
public float Time { get; set; }Property Value
float
Transition
Gets or sets how playback transitions into this clip.
public AnimationPlayer.ClipTransition Transition { get; set; }Property Value
AnimationPlayer.ClipTransition
Weight
Gets or sets the blend weight (0.0 to 1.0) for this clip.
public float Weight { get; set; }Property Value
float

