Class AnimationAutoLayer
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation
Assembly: ValveResourceFormat.dll
Represents an animation auto layer that defines blending and timing parameters for layered animations. Auto layers allow animations to be automatically blended together based on configured parameters.
public class AnimationAutoLayerInheritance
Constructors
AnimationAutoLayer(KVObject)
Initializes a new instance of from a KeyValues object.
public AnimationAutoLayer(KVObject autoLayerKV)Parameters
autoLayerKV KVObject
The KeyValues object containing auto layer data.
Properties
End
Gets or sets where the blend curve reaches zero influence. See for units.
public float End { get; set; }Property Value
FetchFrame
Gets or sets a value indicating whether frame fetching is enabled for this layer.
public bool FetchFrame { get; set; }Property Value
Local
Gets or sets a value indicating whether this layer uses local animation space.
public bool Local { get; set; }Property Value
LocalPose
Gets or sets the local pose index for the animation layer.
public int LocalPose { get; set; }Property Value
LocalReference
Gets or sets the local reference index for the animation layer.
public int LocalReference { get; set; }Property Value
NoBlend
Gets or sets a value indicating whether blending is disabled for this layer.
public bool NoBlend { get; set; }Property Value
Peak
Gets or sets where the blend curve reaches full influence. See for units.
public float Peak { get; set; }Property Value
Pose
Gets or sets a value indicating whether this layer represents a pose.
public bool Pose { get; set; }Property Value
Post
Gets or sets a value indicating whether this layer is applied after (post) the base animation.
public bool Post { get; set; }Property Value
ReferencedAnimationName
Gets the animation or sequence name resolves to against the sequence group's shared name array. Empty when it resolves to nothing.
public string ReferencedAnimationName { get; }Property Value
Spline
Gets or sets a value indicating whether spline interpolation is used for blending.
public bool Spline { get; set; }Property Value
Start
Gets or sets where the blend curve starts ramping in: a fraction of the referenced sequence's own cycle, or of the pose parameter's range when is set.
public float Start { get; set; }Property Value
Subtract
Gets or sets a value indicating whether this layer's animation is subtracted from the base animation.
public bool Subtract { get; set; }Property Value
Tail
Gets or sets where the blend curve starts fading out. See for units.
public float Tail { get; set; }Property Value
XFade
Gets or sets a value indicating whether cross-fading is enabled for this layer.
public bool XFade { get; set; }Property Value
See Also
https://s2v.app/SchemaExplorer/cs2/animationsystem/CSeqAutoLayer

