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
VfxRule(BinaryReader, int)
Initializes a new instance from a binary reader.
public VfxRule(BinaryReader datareader, int blockIndex)
Parameters
datareader
BinaryReaderblockIndex
int
Properties
BlockIndex
Gets the block index.
public int BlockIndex { get; }
Property Value
ConditionalTypes
Gets the array of conditional types.
public VfxRuleType[] ConditionalTypes { get; }
Property Value
Description
Gets the error description.
public string Description { get; }
Property Value
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
RuleType
Gets the rule type.
public VfxRuleType RuleType { get; }
Property Value
Values
Gets the array of values.
public int[] Values { get; }
Property Value
- int[]