UMaterialEditingLibrary::GetTextureParameterSource

Returns the path of the asset where the parameter originated, as well as true/false if it was found

Windows
MacOS
Linux

References

Module

MaterialEditor

Header

/Engine/Source/Editor/MaterialEditor/Public/MaterialEditingLibrary.h

Include

#include "MaterialEditingLibrary.h"

Source

/Engine/Source/Editor/MaterialEditor/Private/MaterialEditingLibrary.cpp

Syntax

static bool GetTextureParameterSource
(
    UMaterialInterface * Material,
    const FName ParameterName,
    FSoftObjectPath & ParameterSource
)

Remarks

Returns the path of the asset where the parameter originated, as well as true/false if it was found

Returns

Whether or not the parameter was found in this material

Parameters

Parameter

Description

Material

The material or material instance you want to look up a parameter from

ParameterName

The parameter name

ParameterSource

The soft object path of the asset the parameter originates in

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