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