Class ChoreoCurveData
- Assembly
- ValveResourceFormat.dll
Represents curve data in a choreography scene.
public class ChoreoCurveDataInheritance
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
samplesChoreoSample[]-
The samples in this curve.
leftEdgeChoreoEdge-
The left edge of the curve.
rightEdgeChoreoEdge-
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.