Modify Material

Instructions for Use

Modify the existing material of Model Data, and support operations such as material redundancy removal, material type conversion, Uniform Settings material, etc.

Note: The material name is the Unique identifier of the material and cannot be duplicated. When the material name is the same before and after processing, it is necessary to ensure that the texture and color in the material must be consistent.

Parameter Description

Parameter Name Parameter Description Parameter Type
Model Data Source Select the Datasource where the source Model Dataest is located Datasource
Model Dataset: Select Model Dataest DatasetVector
Material redundancy removal
(Optional)
Is used for duplicate materials in Delete Data. Boolean
Uniform Material Settings
(Optional)
Is used to set Uniform Settings Material for the model. Boolean
Only Modify Color:
(Optional)

This parameter is available only when "Uniform Material Settings" is checked. It is used to set the material color, expressed as a hex code (formats: #RRGGBB or #AARRGGBB, e.g., #FF0000 or #80FF0000).Priority: material field > material file > color.

String
Material File
(Optional)
Available only with Uniform Material Settings enabled. Use the Import Material file (*.JSON) to modify the material of the model. Priority: material field > material file > color. String
Material Field
(Optional)
Available only with Uniform Material Settings enabled. Modify materials by specifying the field containing hex color codes or material file paths. Priority: material field > material file > color. String
Convert Material Type
(Optional)

Set whether to convert model material type.

Boolean
Material Type
(OPTIONAL)
This parameter is available only if Convert Material Type is checked, and sets the target material type, i.e., the material type after Model Data conversion, including Common Material and PBR Material. Default is PBR material. MaterialType
Target Datasource Select Datasource to store Result Model Dataset Datasource
Result Dataset Name
(Optional)
Set the name of the Result Model Dataset. The default is the Source Model Dataset Name _ modifyMaterial String

Output Result

Parameter Name Parameter Description Parameter Type
Modify Material Modify Material Boolean