Struct Args
Stores one value in the graph execution argument table used by GraphContext.
public struct Args
- Inherited Members
Remarks
Terrain graph execution passes request-wide settings through a dictionary keyed by the
constants in this type. Nodes then fetch those values with context.GetArg(...) while
evaluating outputs.
The struct works as a small untagged payload container rather than a strongly typed variant. Each key has an implied payload field, so producers and consumers must agree whether a given argument lives in intValue, floatValue, vectorValue, or boolValue.
Properties
- boolValue
Stores the boolean payload for keys that act as execution flags.
- floatValue
Stores the floating-point payload for keys that use a scalar value.
- intValue
Stores the integer payload for keys that use discrete values.
- vectorValue
Stores the vector payload for keys that encode bounds or transform-related data.
Methods
- Create(bool)
Creates an argument payload that stores a boolean flag.
- Create(int)
Creates an argument payload that stores an integer value.
- Create(float)
Creates an argument payload that stores a floating-point value.
- Create(Vector4)
Creates an argument payload that stores a vector value.