Class FlexRule
Namespace: ValveResourceFormat.ResourceTypes.ModelFlex
Assembly: ValveResourceFormat.dll
Represents a flex rule that evaluates flex operations.
csharp
public class FlexRuleInheritance
Constructors
FlexRule(int, FlexOp[])
Initializes a new instance of the class.
csharp
public FlexRule(int flexID, FlexOp[] flexOps)Parameters
flexID int
flexOps FlexOp[]
Properties
FlexID
Gets the flex ID.
csharp
public int FlexID { get; }Property Value
FlexOps
Gets the flex operations for this rule.
csharp
public FlexOp[] FlexOps { get; }Property Value
FlexOp[]
Methods
Evaluate(float[])
Evaluates the flex rule with the given controller values.
csharp
public float Evaluate(float[] flexControllerValues)Parameters
flexControllerValues float[]

