Inheritence |
|
You can pass this object to pdg.GraphContext._cook()
to configure how the
graph cooks.
Methods
cookType
: pdg.cookType
Property
The type of cook to perform.
Defaults to pdg.cookType.Full
.
nodeNames
: list
of str
Property
The names of the nodes to cook, as an array of strings. Used when the
cookType
value is set to pdg.cookType.Node
or pdg.cookType.GenerateNode
.
saveScene
: bool
Property
When this property is set to True
, PDG will attempt to save the scene
before cooking, if any of the nodes being cooked need the scene file. For
example, the ROP Fetch TOP node creates work items that load the current
scene file when they cook.
Defaults to False
.
staticFilter
: pdg.Filter
Property
The set of the static items that should be cooked.
Defaults to all static items.
Methods from pdg.EvaluationOptions
autoRecook
: bool
Property
When this option is set to True
, the graph will automatically recook
at the interval specified in the autoRecookInterval
property.
Defaults to False
.
autoRecookInterval
: int
Property
When auto recooking, the interval in milliseconds between recooks.
Defaults to 100.
blocking
: bool
Property
Indicates whether or not the cook should block the caller, or cook in the background.
Defaults to False