UModelComponent::GetNumMaterials

Return number of material elements in this primitive

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetNumMaterials()

UModelComponent::GetNumMaterials()

References

Module

Engine

Header

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

Include

#include "Components/ModelComponent.h"

Source

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

Syntax

virtual int32 GetNumMaterials() const

Remarks

Return number of material elements in this primitive