UMRMeshComponent::SetMaterial

[UPrimitiveComponent](API\Runtime\Engine\Components\UPrimitiveComponent).. public BP function needs to stay public to avoid nativization errors. (RR)

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::SetMaterial()

UMRMeshComponent::SetMaterial()

References

Module

MRMesh

Header

/Engine/Source/Runtime/MRMesh/Public/MRMeshComponent.h

Include

#include "MRMeshComponent.h"

Source

/Engine/Source/Runtime/MRMesh/Private/MRMeshComponent.cpp

Syntax

virtual void SetMaterial
(
    int32 ElementIndex,
    class UMaterialInterface * InMaterial
)

Remarks

UPrimitiveComponent.. public BP function needs to stay public to avoid nativization errors. (RR)