UMeshComponent::CleanUpOverrideMaterials

Make sure the Override array is using only the space it should use.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h

Include

#include "Components/MeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp

Syntax

void CleanUpOverrideMaterials()

Remarks

Make sure the Override array is using only the space it should use.

The override array cannot be bigger then the number of mesh material.

The override array must not end with a nullptr UMaterialInterface.

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