Navigation
Unreal Engine C++ API Reference > Editor > MaterialEditor > UMaterialEditingLibrary
References
Module | MaterialEditor |
Header | /Engine/Source/Editor/MaterialEditor/Public/MaterialEditingLibrary.h |
Include | #include "MaterialEditingLibrary.h" |
Source | /Engine/Source/Editor/MaterialEditor/Private/MaterialEditingLibrary.cpp |
static bool GetScalarParameterSource ( [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * Material, const [FName](API\Runtime\Core\UObject\FName) ParameterName, [FSoftObjectPath](API\Runtime\CoreUObject\UObject\FSoftObjectPath) & ParameterSource )
Remarks
Returns the path of the asset where the parameter originated, as well as true/false if it was found Whether or not the parameter was found in this material
Parameters
Name | 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 |