Description
AssignMaterialToCollection (v1)
Assign material to a set of face in a geometry collection
Input(s) : Collection [Intrinsic] - Collection to assign material to FaceSelection - Faces that will be set with this material index, if no selection is connected , all faces will be set MaterialArray [Intrinsic] - Array holding the materials objects Material - Material to assign to the selection
Output(s): Collection [Passthrough] - Collection to assign material to MaterialArray [Passthrough] - Array holding the materials objects MaterialIndex - Index where the material was set in the array
Information
| Module | GeometryCollectionNodes |
| Category | Materials |
| Type | FAssignMaterialInterfaceToCollectionDataflowNode |
Parameters
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| bMergeDuplicateMaterials | If true, detect duplicate in the material array and only add the material in the array if it does not yet exists | bool | False |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Collection | Collection to assign material to | FManagedArrayCollection | () |
| FaceSelection | Faces that will be set with this material index, if no selection is connected , all faces will be set | FDataflowFaceSelection | () |
| MaterialArray | Array holding the materials objects | TArray<TObjectPtr<UMaterialInterface>> | |
| Material | Material to assign to the selection | TObjectPtr<UMaterialInterface> | None |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Collection | Collection to assign material to | FManagedArrayCollection | |
| MaterialArray | Array holding the materials objects | TArray<TObjectPtr<UMaterialInterface>> | |
| MaterialIndex | Index where the material was set in the array | int32 |