register_property
---- register a node type's editable properties (call during yu3d_plugin_register, after register_node_type). props points to an array of n_props descriptors; the host copies them. ----
Prototype
void (*register_property)(const char* type_id, const Yu3dPropertyDesc* props, uint32_t n_props)
Parameters
| Declaration | Name |
|---|---|
const char* type_id | type_id |
const Yu3dPropertyDesc* props | props |
uint32_t n_props | n_props |
Returns
void
Same group (Properties)
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->register_property(…). Guard with YU3D_HOST_HAS(host, register_property) if your plugin must also load in an older host.