Table of Contents

Class FlexRule

Namespace
ValveResourceFormat.ResourceTypes.ModelFlex
Assembly
ValveResourceFormat.dll

Represents a flex rule that evaluates flex operations.

public class FlexRule

Inheritance

Inherited Members

Constructors

FlexRule(int, FlexOp[])

Initializes a new instance of the ValveResourceFormat.ResourceTypes.ModelFlex.FlexRule class.

public FlexRule(int flexID, FlexOp[] flexOps)

Parameters

flexID int
flexOps FlexOp[]

Properties

FlexID

Gets the flex ID.

public int FlexID { get; }

Property Value

int

FlexOps

Gets the flex operations for this rule.

public FlexOp[] FlexOps { get; }

Property Value

FlexOp[]

Methods

Evaluate(float[])

Evaluates the flex rule with the given controller values.

public float Evaluate(float[] flexControllerValues)

Parameters

flexControllerValues float[]

Returns

float