File: ScriptableValueNode.md | Updated: 11/15/2025
ScriptableNode uses this class to manage script inputs and outputs.
Constructs a new scriptable node.
value | The value. Default is null.
---|---
An event dispatcher for managing events.
If this node represents an input, this property represents the input type.
Default is null.
Whether this node represents an output or not.
Default is true.
This flag can be used for type testing.
Default is true.
If this node represents an output, this property represents the output type.
Default is null.
The node's value.
Overwritten since the node type is inferred from the value.
builder | The current node builder.
---|---
Overrides: Node#getNodeType
Returns: The node type.
The value property usually represents a node or even binary data in form of array buffers. In this case, this method tries to return the actual value behind the complex type.
Returns: The value.
Dispatches the refresh event.