Class FlexOp
- Assembly
- ValveResourceFormat.dll
Base class for flex operations.
public abstract class FlexOpInheritance
Derived
Inherited Members
Constructors
FlexOp(float)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.ModelFlex.FlexOps.FlexOp class.
protected FlexOp(float data)Parameters
datafloat
Properties
Data
Gets the data associated with this operation.
public float Data { get; }Property Value
Methods
Build(string, int)
Builds a flex operation from an opcode and data.
public static FlexOp? Build(string opCode, int data)Parameters
Returns
Run(in FlexRuleContext)
Executes the flex operation.
public abstract void Run(in FlexRuleContext context)Parameters
contextFlexRuleContext