mdl_attach_function_to_argument
Attaches an MDL function to an MDL material or function 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.