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