Class AnimationPlayer.ClipDriver
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Takes a driven clip's playback position from an owner clip's cycle, and its weight from that owner.
public abstract record AnimationPlayer.ClipDriver : IEquatable<AnimationPlayer.ClipDriver>Inheritance
object ← AnimationPlayer.ClipDriver
Derived
AnimationPlayer.AutoLayerDriver, AnimationPlayer.BlendDriver
Implements
IEquatable<AnimationPlayer.ClipDriver>
Constructors
ClipDriver(PlaybackClip)
Takes a driven clip's playback position from an owner clip's cycle, and its weight from that owner.
protected ClipDriver(AnimationPlayer.PlaybackClip Owner)Parameters
Owner AnimationPlayer.PlaybackClip
The clip whose cycle position drives this one.
Properties
Owner
The clip whose cycle position drives this one.
public AnimationPlayer.PlaybackClip Owner { get; init; }Property Value
Methods
EvaluateCycle(float)
The position in the driven clip's own cycle, 0 to 1. Defaults to the owner's cycle position.
public virtual float EvaluateCycle(float ownerCycle)Parameters
ownerCycle float
Returns
float
EvaluateWeight(AnimationPlayer, float)
The weight the driven clip contributes, given the owner's cycle position from 0 to 1.
public abstract float EvaluateWeight(AnimationPlayer player, float ownerCycle)Parameters
player AnimationPlayer
ownerCycle float
Returns
float

