node_child_count
document QUERY. Node handles are valid ONLY for the duration of the command callback; never store them. The const char* returned by node_type/name/uuid points to host-owned scratch valid until the NEXT query call — copy out immediately.
This function shares its documentation with the rest of the Document query group above.
Prototype
uint32_t (*node_child_count)(Yu3dNode* node)
Parameters
| Declaration | Name |
|---|---|
Yu3dNode* node | node |
Returns
uint32_t
Same group (Document query)
doc_current_selection · doc_root · doc_find_node · node_child · node_parent · node_type · node_name · node_uuid · node_payload · node_get_property
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->node_child_count(…). Guard with YU3D_HOST_HAS(host, node_child_count) if your plugin must also load in an older host.