The world a single expression evaluation reads and writes to.
Definition ExpressionContext.h:28
nt::NodeId currentNode() const
The node a relative parameter path resolves against.
Definition ExpressionContext.h:33
The world a script reads during one cook of a node.
Definition ScriptContext.h:28
const MeshAttributeReader & getAttributeReader(size_t primitiveIndex) const
Returns the reader for the input mesh at a primitive index.
Definition ScriptContext.cpp:31
void addWarning(const String &warning) const
Adds a warning for the node, skipping one it already holds.
Definition ScriptContext.cpp:36
const geo::Mesh & getInputMesh(size_t primitiveIndex) const
Returns the input mesh at a primitive index.
Definition ScriptContext.cpp:26
const std::vector< String > & getWarnings() const
Returns every warning the script added, in the order they first appeared.
Definition ScriptContext.h:42