Struct FloatParameterRange ​
Namespace: ValveResourceFormat.ResourceTypes.ModelAnimation2
Assembly: ValveResourceFormat.dll
The span of values a float parameter is read over, from the values the graph compares it with and the ranges it blends and remaps over.
public readonly record struct FloatParameterRange : IEquatable<FloatParameterRange>Implements ​
IEquatable<FloatParameterRange>
Constructors ​
FloatParameterRange(float, float, bool, bool) ​
The span of values a float parameter is read over, from the values the graph compares it with and the ranges it blends and remaps over.
public FloatParameterRange(float Min, float Max, bool IsWholeNumber, bool IsDiscrete)Parameters ​
Min float
The lowest value the graph reads, never above zero.
Max float
The highest value the graph reads.
IsWholeNumber bool
Whether the graph only compares the value with whole numbers, like a count.
IsDiscrete bool
Whether the value picks between a few whole-number states, as an option index or in equality tests.
Properties ​
IsDiscrete ​
Whether the value picks between a few whole-number states, as an option index or in equality tests.
public bool IsDiscrete { get; init; }Property Value ​
bool
IsWholeNumber ​
Whether the graph only compares the value with whole numbers, like a count.
public bool IsWholeNumber { get; init; }Property Value ​
bool
Max ​
The highest value the graph reads.
public float Max { get; init; }Property Value ​
float
Min ​
The lowest value the graph reads, never above zero.
public float Min { get; init; }Property Value ​
float

