UMaterialInstance::GetStaticComponentMaskParameterValue

Get the value of the given static component mask parameter

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetStaticComponentMaskParameterValue()

UMaterialInstance::GetStaticComponentMaskParameterValue()

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 GetStaticComponentMaskParameterValue
(
    const FHashedMaterialParameterInfo & ParameterInfo,
    bool & R,
    bool & G,
    bool & B,
    bool & A,
    FGuid & OutExpressionGuid,
    bool bOveriddenOnly,
    bool bCheckParent
) const

Remarks

Get the value of the given static component mask parameter

Returns

True if successful

Parameters

Parameter

Description

ParameterName

The name of the parameter

R, G, B, A

Will contain the values 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