UMaterial::GetStaticSwitchParameterValues

Get the values of the given set of static switch parameters.

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetStaticSwitchParameterValues()

UMaterial::GetStaticSwitchParameterValues()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

virtual bool GetStaticSwitchParameterValues
(
    FStaticParamEvaluationContext & EvalContext,
    TBitArray<> & OutValues,
    FGuid * OutExpressionGuids,
    bool bCheckParent
) const

Remarks

Get the values of the given set of static switch parameters.

Returns

True if successfully obtained ALL parameter values requested

Parameters

Parameter

Description

EvalContext

The evaluation context used while determining parameter values.

OutValues

If successful, will contain the value of the requested parameters. Must be pre-sized to fit at least all parameter values in the evaluation. If unsuccessful, may still be written to with intermediate values.

OutExpressionGuids

If successful, will contain the identifier of the owning expression of the requested parameter values. Must be non null and pre-sized to fit at least all parameter values in the evaluation. If unsuccessful, may still be written to with intermediate values.

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