UMaterialInstance::GetStaticComponentMaskParameterValues

Get the values of the given set of static component mask parameters

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetStaticComponentMaskParameterValues()

UMaterialInstance::GetStaticComponentMaskParameterValues()

References

Module

Engine

Header

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

Include

#include "Materials/MaterialInstance.h"

Source

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

Syntax

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

Remarks

Get the values of the given set of static component mask parameters

Returns

True if successfully obtained ALL parameter values requested

Parameters

Parameter

Description

EvalContext

The evaluation context used while determining parameter values

OutRGBAOrderedValues

If successful, will contain the value of the requested parameters. Must be pre-sized to fit at least four bits for 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