yucad3d

node_get_property

Read a node's current property value (resolves the registered provider). sub_id < 0 = a node-level property; >= 0 = a sub-entity property. Returns 1 on success (out filled), 0 if no such field. For TEXT/CHOICE, out->text points to host scratch valid until the next query call.

Prototype

int (*node_get_property)(Yu3dNode* node, const char* key, int sub_id, Yu3dPropValue* out)

Parameters

DeclarationName
Yu3dNode* nodenode
const char* keykey
int sub_idsub_id
Yu3dPropValue* outout

Returns

int

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_payload

Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->node_get_property(…). Guard with YU3D_HOST_HAS(host, node_get_property) if your plugin must also load in an older host.