UDecalComponent::GetMaterialPropertyPath

Returns full material property path and [UObject](API\Runtime\CoreUObject\UObject\UObject) owner property object Path examples: Material property path with array element and inner struct Materials[0].InnerStruct.Material Material property path with array element Materials[0] Simple material property path Materials

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USceneComponent::GetMaterialPropertyPath()

UDecalComponent::GetMaterialPropertyPath()

References

Module

Engine

Header

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

Include

#include "Components/DecalComponent.h"

Source

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

Syntax

virtual bool GetMaterialPropertyPath
(
    int32 ElementIndex,
    UObject *& OutOwner,
    FString & OutPropertyPath
)

Remarks

Returns full material property path and UObject owner property object Path examples: Material property path with array element and inner struct Materials[0].InnerStruct.Material Material property path with array element Materials[0] Simple material property path Materials

Returns

true if that was successfully resolved and component has material

Parameters

Parameter

Description

ElementIndex

The element to access the material of.

OutOwner

Property UObject owner.

OutPropertyPath

Full material property path.