Navigation
BlueprintAPI > BlueprintAPI/MaterialEditing
Renames a material parameter group within the specified material.
This function allows you to rename an existing parameter group in a material.
It iterates all parameters within the material, finds all the one belonging
to the OldGroupName group and switches those parameters to be in the NewGroupName
group. This function only affects parameters that belong to the specified group.
To remove the groups from the parameters the new group name can be 'None'. If the
OldGroupName does not exist in the material, the function will return false. If
the NewGroupName already exists, the parameters will be "merged" into the existing group.
Target is Material Editing Library
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Material | The material asset in which the parameter group resides. |
| name | Old Group Name | The current name of the parameter group to rename. |
| name | New Group Name | The new name to assign to the parameter group. |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| boolean | Return Value | true if the rename operation was successful; false otherwise. |