Class ChoreoFlexAnimationTrack
Namespace: ValveResourceFormat.ResourceTypes.Choreo
Assembly: ValveResourceFormat.dll
Represents a flex animation track in a choreography scene.
public class ChoreoFlexAnimationTrackInheritance
object ← ChoreoFlexAnimationTrack
Constructors
ChoreoFlexAnimationTrack(string, ChoreoTrackFlags, float, float, ChoreoCurveData, ChoreoCurveData?)
Initializes a new instance of the 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
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
TrackFlags
Gets the flags for the track.
public ChoreoTrackFlags TrackFlags { get; }Property Value
Methods
ToKeyValues()
Converts this track to a KVObject.
public KVObject ToKeyValues()Returns
KVObject
A KVObject representing this track.

