UGroomComponent::GetUsedMaterials

Retrieves the materials used in this component

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

HairStrandsCore

Header

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomComponent.h

Include

#include "GroomComponent.h"

Source

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Private/GroomComponent.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.