UMaterialEditingLibrary::GetScalarParameterSource

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

Choose your operating system:

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 GetScalarParameterSource
(
    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