Table of Contents

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 AnimationAutoLayer

Inheritance

Inherited Members

Constructors

AnimationAutoLayer(KVObject)

Initializes a new instance of ValveResourceFormat.ResourceTypes.ModelAnimation.AnimationAutoLayer from a KeyValues object.

public AnimationAutoLayer(KVObject autoLayerKV)

Parameters

autoLayerKV KVObject

The KeyValues object containing auto layer data.

Properties

End

Gets or sets the end time of the blend curve.

public float End { get; set; }

Property Value

float

FetchFrame

Gets or sets a value indicating whether frame fetching is enabled for this layer.

public bool FetchFrame { get; set; }

Property Value

bool

Local

Gets or sets a value indicating whether this layer uses local animation space.

public bool Local { get; set; }

Property Value

bool

LocalPose

Gets or sets the local pose index for the animation layer.

public int LocalPose { get; set; }

Property Value

int

LocalReference

Gets or sets the local reference index for the animation layer.

public int LocalReference { get; set; }

Property Value

int

NoBlend

Gets or sets a value indicating whether blending is disabled for this layer.

public bool NoBlend { get; set; }

Property Value

bool

Peak

Gets or sets the peak time of the blend curve where the layer has maximum influence.

public float Peak { get; set; }

Property Value

float

Pose

Gets or sets a value indicating whether this layer represents a pose.

public bool Pose { get; set; }

Property Value

bool

Post

Gets or sets a value indicating whether this layer is applied after (post) the base animation.

public bool Post { get; set; }

Property Value

bool

Spline

Gets or sets a value indicating whether spline interpolation is used for blending.

public bool Spline { get; set; }

Property Value

bool

Start

Gets or sets the start time of the blend curve.

public float Start { get; set; }

Property Value

float

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

bool

Tail

Gets or sets the tail time where the blend curve begins to fade out.

public float Tail { get; set; }

Property Value

float

XFade

Gets or sets a value indicating whether cross-fading is enabled for this layer.

public bool XFade { get; set; }

Property Value

bool