SMeshWidget::ConvertToMID

Switch from static material to material instance dynamic.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Slate/SMeshWidget.h

Include

#include "Slate/SMeshWidget.h"

Source

/Engine/Source/Runtime/UMG/Private/Slate/SMeshWidget.cpp

Syntax

UMaterialInstanceDynamic * ConvertToMID
(
    uint32 MeshId
)

Remarks

Switch from static material to material instance dynamic.

Returns

The MID for this Asset on which parameters can be set.

Parameters

Parameter

Description

MeshId

The index of the mesh; returned from AddMesh.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss