Class FlexOpAdd
- Assembly
- ValveResourceFormat.dll
Flex operation that adds two values.
public class FlexOpAdd : FlexOp
Inheritance
Inherited Members
Constructors
FlexOpAdd(float)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.ModelFlex.FlexOps.FlexOpAdd class.
public FlexOpAdd(float data)
Parameters
data
float
Methods
Run(in FlexRuleContext)
Executes the flex operation.
public override void Run(in FlexRuleContext context)
Parameters
context
FlexRuleContext
Remarks
Pops two values from the stack and pushes their sum.