UMaterial::GetExpressionInputForProperty

Get the expression input for the given property

Windows
MacOS
Linux

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

FExpressionInput * GetExpressionInputForProperty
(
    EMaterialProperty InProperty
)

Remarks

Get the expression input for the given property

Returns

FExpressionInput* A pointer to the expression input of the property specified, or NULL if an invalid property was requested (some properties have been removed from UI, those return NULL).

Parameters

Parameter

Description

InProperty

The material property chain to inspect, such as MP_BaseColor.

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