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

