Class ChoreoFlexAnimationTrack
- 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
MaxRange
Gets the maximum range value.
public float MaxRange { get; }
Property Value
MinRange
Gets the minimum range value.
public float MinRange { get; }
Property Value
Name
Gets the name of the track.
public string Name { get; }
Property Value
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 ValveResourceFormat.Serialization.KeyValues.KVObject.
public KVObject ToKeyValues()
Returns
- KVObject
-
A ValveResourceFormat.Serialization.KeyValues.KVObject representing this track.