FMaterialGraphSchemaAction_NewNode::SetFunctionInputType

Sets the type of a Function input based on an EMaterialValueType value.

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphSchema.h

Include

#include "MaterialGraph/MaterialGraphSchema.h"

Source

/Engine/Source/Editor/UnrealEd/Private/MaterialGraphSchema.cpp

Syntax

void SetFunctionInputType
(
    class UMaterialExpressionFunctionInput * FunctionInput,
    uint32 MaterialValueType
) const

Remarks

Sets the type of a Function input based on an EMaterialValueType value.

Parameters

Parameter

Description

FunctionInput

The function input to set.

MaterialValueType

Value type we want input to accept.