yucad3d

doc_current_selection

---- current selection: writes the selected node's uuid into out (NUL-terminated, truncated to out_len). Returns 1 if something is selected, 0 otherwise (out left empty). ----

Prototype

int (*doc_current_selection)(Yu3dDocument* doc, char* out, uint32_t out_len)

Parameters

DeclarationName
Yu3dDocument* docdoc
char* outout
uint32_t out_lenout_len

Returns

int

Same group (Document query)

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