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

