yucad3d

doc_root

---- 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. ----

Prototype

Yu3dNode* (*doc_root)(Yu3dDocument* doc)

Parameters

DeclarationName
Yu3dDocument* docdoc

Returns

Yu3dNode*

Same group (Document query)

doc_current_selection · doc_find_node · node_child_count · 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->doc_root(…). Guard with YU3D_HOST_HAS(host, doc_root) if your plugin must also load in an older host.