Class ChoreoCurveData
- Assembly
- ValveResourceFormat.dll
Represents curve data in a choreography scene.
public class ChoreoCurveData
Inheritance
Inherited Members
Constructors
ChoreoCurveData(ChoreoSample[], ChoreoEdge, ChoreoEdge)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.Choreo.ChoreoCurveData class.
public ChoreoCurveData(ChoreoSample[] samples, ChoreoEdge leftEdge, ChoreoEdge rightEdge)
Parameters
samples
ChoreoSample[]-
The samples in this curve.
leftEdge
ChoreoEdge-
The left edge of the curve.
rightEdge
ChoreoEdge-
The right edge of the curve.
Properties
LeftEdge
Gets the left edge of the curve.
public ChoreoEdge LeftEdge { get; }
Property Value
RightEdge
Gets the right edge of the curve.
public ChoreoEdge RightEdge { get; }
Property Value
Samples
Gets the samples in this curve.
public ChoreoSample[] Samples { get; }
Property Value
Methods
ToKeyValues()
Converts this curve data to a ValveResourceFormat.Serialization.KeyValues.KVObject.
public KVObject ToKeyValues()
Returns
- KVObject
-
A ValveResourceFormat.Serialization.KeyValues.KVObject representing this curve data.