register_command
registration (call during yu3d_plugin_register)
This function shares its documentation with the rest of the Registration group above.
Prototype
void (*register_command)(const char* id, const char* label, const char* group, Yu3dCommandFn run, void* user)
Parameters
| Declaration | Name |
|---|---|
const char* id | id |
const char* label | label |
const char* group | group |
Yu3dCommandFn run | run |
void* user | user |
Returns
void
Same group (Registration)
Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->register_command(…). Guard with YU3D_HOST_HAS(host, register_command) if your plugin must also load in an older host.