UGeometryCollectionComponent::GetNumMaterials

Return number of material elements in this primitive

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetNumMaterials()

UMeshComponent::GetNumMaterials()

UGeometryCollectionComponent::GetNumMaterials()

References

Module

GeometryCollectionEngine

Header

/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h

Include

#include "GeometryCollection/GeometryCollectionComponent.h"

Source

/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp

Syntax

virtual int32 GetNumMaterials() const

Remarks

Return number of material elements in this primitive