mdl_attach_function_to_argument (deprecated)
This command has been deprecated. Please consider using mdl_set_argument instead.
Attaches an MDL function to an MDL material or function argument. To detach a function from an argument simply set a value on it using mdl_set_argument.
arguments
- "argument_name" : String
The name of the argument to attach to.
- "element_name" : String
The name of the MDL material instance or function call to attach to.
- "field_name" : String (default: null)
If the function returns a structure, the name of the field in the structure to attach. If provided RealityServer will automatically create an intermediate accessor function to extract the field.
- "function_name" : String
The name of the function to attach.