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.
csharp
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.
csharp
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.
csharp
public AnimationPlayer.PlaybackClip Owner { get; init; }Property Value
Methods
EvaluateWeight(AnimationPlayer)
The weight the driven clip contributes, before the owner's own weight.
csharp
public abstract float EvaluateWeight(AnimationPlayer player)Parameters
player AnimationPlayer

