Table of Contents

Class ChoreoFlexAnimationTrack

Namespace
ValveResourceFormat.ResourceTypes.Choreo
Assembly
ValveResourceFormat.dll

Represents a flex animation track in a choreography scene.

public class ChoreoFlexAnimationTrack

Inheritance

Inherited Members

Constructors

ChoreoFlexAnimationTrack(string, ChoreoTrackFlags, float, float, ChoreoCurveData, ChoreoCurveData)

Initializes a new instance of the ValveResourceFormat.ResourceTypes.Choreo.ChoreoFlexAnimationTrack class.

public ChoreoFlexAnimationTrack(string name, ChoreoTrackFlags trackFlags, float minRange, float maxRange, ChoreoCurveData samples, ChoreoCurveData comboSamples)

Parameters

name string

The name of the track.

trackFlags ChoreoTrackFlags

The flags for the track.

minRange float

The minimum range value.

maxRange float

The maximum range value.

samples ChoreoCurveData

The ramp curve data.

comboSamples ChoreoCurveData

The combo ramp curve data.

Properties

ComboRamp

Gets the combo ramp curve data.

public ChoreoCurveData ComboRamp { get; }

Property Value

ChoreoCurveData

MaxRange

Gets the maximum range value.

public float MaxRange { get; }

Property Value

float

MinRange

Gets the minimum range value.

public float MinRange { get; }

Property Value

float

Name

Gets the name of the track.

public string Name { get; }

Property Value

string

Ramp

Gets the ramp curve data.

public ChoreoCurveData Ramp { get; }

Property Value

ChoreoCurveData

TrackFlags

Gets the flags for the track.

public ChoreoTrackFlags TrackFlags { get; }

Property Value

ChoreoTrackFlags

Methods

ToKeyValues()

Converts this track to a ValveResourceFormat.Serialization.KeyValues.KVObject.

public KVObject ToKeyValues()

Returns

KVObject

A ValveResourceFormat.Serialization.KeyValues.KVObject representing this track.