Table of Contents

Class VfxRule

Namespace
ValveResourceFormat.CompiledShader
Assembly
ValveResourceFormat.dll

Represents a constraint rule for shader combos.

public class VfxRule : ShaderDataBlock

Inheritance

Inherited Members

Constructors

VfxRule(KVObject, int)

Initializes a new instance from ValveResourceFormat.Serialization.KeyValues.KVObject data.

public VfxRule(KVObject data, int blockIndex)

Parameters

data KVObject
blockIndex int

VfxRule(BinaryReader, int)

Initializes a new instance from a binary reader.

public VfxRule(BinaryReader datareader, int blockIndex)

Parameters

datareader BinaryReader
blockIndex int

Properties

BlockIndex

Gets the block index.

public int BlockIndex { get; }

Property Value

int

ConditionalTypes

Gets the array of conditional types.

public VfxRuleType[] ConditionalTypes { get; }

Property Value

VfxRuleType[]

Description

Gets the error description.

public string Description { get; }

Property Value

string

ExtraRuleData

Gets extra rule data.

public int[] ExtraRuleData { get; }

Property Value

int[]

Indices

Gets the array of indices.

public int[] Indices { get; }

Property Value

int[]

Rule

Gets the rule method.

public VfxRuleMethod Rule { get; }

Property Value

VfxRuleMethod

RuleType

Gets the rule type.

public VfxRuleType RuleType { get; }

Property Value

VfxRuleType

Values

Gets the array of values.

public int[] Values { get; }

Property Value

int[]