Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h |
Include |
#include "Components/MeshComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp |
virtual UMaterialInterface * GetMaterial
(
int32 ElementIndex
) const
Returns the material used by the element at the specified index
the material used by the indexed element of this mesh.
Parameter |
Description |
---|---|
ElementIndex |
The element to access the material of. |