Navigation
API > API/Editor > API/Editor/MaterialEditor > API/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 GetStaticSwitchParameterSource
&40;
UMaterialInterface &42; Material,
const FName ParameterName,
FSoftObjectPath & ParameterSource
&41;
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 |