Struct SampledClip ​
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation2
Assembly: ValveResourceFormat.dll
A clip an animation graph update sampled, see AnimationGraph.SampledClips.
csharp
public readonly record struct SampledClip : IEquatable<SampledClip>Implements ​
Constructors ​
SampledClip(string, float, float) ​
A clip an animation graph update sampled, see AnimationGraph.SampledClips.
csharp
public SampledClip(string Name, float Time, float Duration)Parameters ​
Name string
The clip resource name.
Time float
The time sampled, in seconds.
Duration float
The clip duration, in seconds.
Properties ​
Duration ​
The clip duration, in seconds.
csharp
public float Duration { get; init; }Property Value ​
float
Name ​
The clip resource name.
csharp
public string Name { get; init; }Property Value ​
string
Time ​
The time sampled, in seconds.
csharp
public float Time { get; init; }Property Value ​
float

