UMaterialInterface::GetStaticSwitchParameterValue

Get the value of the given static switch parameter

Windows
MacOS
Linux

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

Syntax

bool GetStaticSwitchParameterValue
(
    const FHashedMaterialParameterInfo & ParameterInfo,
    bool & OutValue,
    FGuid & OutExpressionGuid,
    bool bOveriddenOnly,
    bool bCheckParent
) const

Remarks

Get the value of the given static switch parameter

Returns

True if successful

Parameters

Parameter

Description

ParameterName

The name of the static switch parameter

OutValue

Will contain the value of the parameter if successful

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