UEdGraphSchema::IsPinDefaultValid

Determine if the supplied pin default values would be valid.

Windows
MacOS
Linux

Override Hierarchy

UEdGraphSchema::IsPinDefaultValid()

UEdGraphSchema_K2::IsPinDefaultValid()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h

Include

#include "EdGraph/EdGraphSchema.h"

Syntax

virtual FString IsPinDefaultValid
(
    const UEdGraphPin * Pin,
    const FString & NewDefaultValue,
    UObject * NewDefaultObject,
    const FText & InNewDefaultText
) const

Remarks

Determine if the supplied pin default values would be valid.

Returns

An empty string if the new value is legal, otherwise a message describing why it is invalid.

Parameters

Parameter

Description

Pin

The pin to check the default value on.

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