UMaterial::GetLightingGuidChain

Returns all the Guids related to this material.

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetLightingGuidChain()

UMaterial::GetLightingGuidChain()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

virtual void GetLightingGuidChain
(
    bool bIncludeTextures,
    TArray< FGuid > & OutGuids
) const

Remarks

Returns all the Guids related to this material. For material instances, this includes the parent hierarchy. Used for versioning as parent changes don't update the child instance Guids.

Parameters

Parameter

Description

bIncludeTextures

Whether to include the referenced texture Guids.

OutGuids

The list of all resource guids affecting the precomputed lighting system and texture streamer.

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