Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialInterface
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialInterface.h |
Include | #include "Materials/MaterialInterface.h" |
Source | /Engine/Source/Runtime/Engine/Private/Materials/MaterialInterface.cpp |
bool GetStaticSwitchParameterValue
&40;
const FHashedMaterialParameterInfo & ParameterInfo,
bool & OutValue,
FGuid & OutExpressionGuid,
bool bOveriddenOnly
&41; const
Remarks
Get the value of the given static switch parameter True if successful
Parameters
Name | Description |
---|---|
ParameterName | The name of the static switch parameter |
OutValue | Will contain the value of the parameter if successful |