UEdGraphSchema::IsPinDefaultValid

Determine if the supplied pin default values would be valid.

Choose your operating system:

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.