Class VfxRule
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Represents a constraint rule for shader combos.
csharp
public class VfxRule : ShaderDataBlockInheritance
object ← ShaderDataBlock ← VfxRule
Inherited Members
ShaderDataBlock.Start, ShaderDataBlock.ReadStringWithMaxLength(BinaryReader, int)
Constructors
VfxRule(KVObject, int)
Initializes a new instance from data.
csharp
public VfxRule(KVObject data, int blockIndex)Parameters
data KVObject
blockIndex int
VfxRule(BinaryReader, int)
Initializes a new instance from a binary reader.
csharp
public VfxRule(BinaryReader datareader, int blockIndex)Parameters
datareader BinaryReader
blockIndex int
Properties
BlockIndex
Gets the block index.
csharp
public int BlockIndex { get; }Property Value
ConditionalTypes
Gets the array of conditional types.
csharp
public VfxRuleType[] ConditionalTypes { get; }Property Value
Description
Gets the error description.
csharp
public string Description { get; }Property Value
ExtraRuleData
Gets extra rule data.
csharp
public int[] ExtraRuleData { get; }Property Value
int[]
Indices
Gets the array of indices.
csharp
public int[] Indices { get; }Property Value
int[]
Rule
Gets the rule method.
csharp
public VfxRuleMethod Rule { get; }Property Value
RuleType
Gets the rule type.
csharp
public VfxRuleType RuleType { get; }Property Value
Values
Gets the array of values.
csharp
public int[] Values { get; }Property Value
int[]

