node_payload
The opaque payload for ANY plugin-backed node (an ExternNode), null for a core node type. NOTE: the host has no caller identity, so this returns the payload of whichever plugin registered the node's type — which may NOT be yours. ALWAYS check node_type() first and only reinterpret the payload when the type is one you registered; a bare non-null test is unsafe once a second payload-bearing plugin exists.
Prototype
void* (*node_payload)(Yu3dNode* node)
Parameters
| Declaration | Name |
|---|---|
Yu3dNode* node | node |
Returns
void*
Same group (Document query)
doc_current_selection · doc_root · doc_find_node · node_child_count · node_child · node_parent · node_type · node_name · node_uuid · node_get_property
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->node_payload(…). Guard with YU3D_HOST_HAS(host, node_payload) if your plugin must also load in an older host.