Struct SyncTrackTime ​
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
A position on a sync track: an event index and a percentage through that event.
csharp
public readonly struct SyncTrackTimeConstructors ​
SyncTrackTime(int, float) ​
Creates a time from an event index and a percentage through it.
csharp
public SyncTrackTime(int eventIdx, float percentageThrough)Parameters ​
eventIdx int
percentageThrough float
SyncTrackTime(KVObject) ​
Reads the SyncTrackTime from its KeyValues3 data.
csharp
public SyncTrackTime(KVObject data)Parameters ​
data KVObject
Properties ​
EventIdx ​
The event index.
csharp
public int EventIdx { get; }Property Value ​
int
PercentageThrough ​
How far through the event the position is.
csharp
public Percent PercentageThrough { get; }
