Class FlexOpSub
Namespace: ValveResourceFormat.ResourceTypes.ModelFlex.FlexOps
Assembly: ValveResourceFormat.dll
Flex operation that subtracts two values.
csharp
public class FlexOpSub : FlexOpInheritance
Inherited Members
FlexOp.Data, FlexOp.Run(in FlexRuleContext), FlexOp.Build(string, int)
Constructors
FlexOpSub(float)
Initializes a new instance of the class.
csharp
public FlexOpSub(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 difference.

