UEdGraphSchema::TrySetDefaultObject

Sets the object to the specified pin

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "EdGraph/EdGraphSchema.h"

Source

/Engine/Source/Runtime/Engine/Private/EdGraph/EdGraphSchema.cpp

Syntax

virtual void TrySetDefaultObject
(
    UEdGraphPin & Pin,
    UObject * NewDefaultObject,
    bool bMarkAsModified
) const

Remarks

Sets the object to the specified pin