UNiagaraComponent::GetUsedMaterials

Retrieves the materials used in this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetUsedMaterials()

UNiagaraComponent::GetUsedMaterials()

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraComponent.h

Include

#include "NiagaraComponent.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraComponent.cpp

Syntax

virtual void GetUsedMaterials
(
    TArray< UMaterialInterface * > & OutMaterials,
    bool bGetDebugMaterials
) const

Remarks

Retrieves the materials used in this component

Parameters

Parameter

Description

OutMaterials

The list of used materials.