UStaticMesh::GetMaterial

Gets a Material given a Material Index and an LOD number

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h

Include

#include "Engine/StaticMesh.h"

Source

/Engine/Source/Runtime/Engine/Private/StaticMesh.cpp

Syntax

UMaterialInterface * GetMaterial
(
    int32 MaterialIndex
) const

Remarks

Gets a Material given a Material Index and an LOD number

Returns

Requested material

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