Struct Percent ​
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
A percentage in the 0 to 1 range.
csharp
public readonly struct PercentConstructors ​
Percent(float) ​
Creates a percentage from a 0 to 1 fraction.
csharp
public Percent(float value)Parameters ​
value float
Percent(KVObject) ​
Reads the Percent from its KeyValues3 data.
csharp
public Percent(KVObject data)Parameters ​
data KVObject
Properties ​
Value ​
The percentage as a 0 to 1 fraction.
csharp
public float Value { get; }Property Value ​
float

