PrimitiveComponent-SetMaterial(int_MaterialInterface).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.PrimitiveComponent

PrimitiveComponent.SetMaterial(int, UnrealEngine.Framework.MaterialInterface) Method

Sets the material applied to an element of the mesh

public void SetMaterial(int elementIndex, UnrealEngine.Framework.MaterialInterface material);

Parameters

elementIndex System.Int32
The element to access the material of

material MaterialInterface
A material

Contents

  1. 0.1UnrealEngine.Framework.PrimitiveComponent
  2. 1PrimitiveComponent.SetMaterial(int, UnrealEngine.Framework.MaterialInterface) Method