UMetasoundEditorGraphSchema::TrySetDefaultObject

Sets the object to the specified pin

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UEdGraphSchema::TrySetDefaultObject()

UMetasoundEditorGraphSchema::TrySetDefaultObject()

References

Module

MetasoundEditor

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Public/MetasoundEditorGraphSchema.h

Include

#include "MetasoundEditorGraphSchema.h"

Source

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Private/MetasoundEditorGraphSchema.cpp

Syntax

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

Remarks

Sets the object to the specified pin