UMetasoundEditorGraphMember

[UMetasoundEditorGraphMember](API\Plugins\MetasoundEditor\UMetasoundEditorGraphMember) is a base class for non-node graph level members such as inputs, outputs and variables.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MetasoundEditor

Header

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

Include

#include "MetasoundEditorGraph.h"

Syntax

UCLASS(Abstract)
class UMetasoundEditorGraphMember : public UObject

Remarks

UMetasoundEditorGraphMember is a base class for non-node graph level members such as inputs, outputs and variables.

Variables

Name Description

Public variable

FOnMetasoundMem...

 

NameChanged

Delegate called when the name of the associated Frontend Node is changed

Public variable

FOnMetasoundMem...

 

OnRenameRequested

Delegate called when a rename is requested on a renameable member node.

Protected variable UProperty

FName

 

TypeName

Metasound Data Type.

Functions

Name Description

Public function Virtual Const

bool

 

CanRename

(
    const FText& InNewName,
    FText& OutError
)

If the Member Name can be changed to InNewName, returns true, otherwise returns false with an error.

Protected function

void

 

ConformLiteralDataType()

Conforms literal object type to member's DataType

Public function Const

FName

 

GetDataType()

Returns the current data type

Public function Virtual Const

FText

 

GetDescription()

Get the member description

Public function Virtual Const

FText

 

GetDisplayName()

Get the member display name

Public function Virtual Const

const FText ...

 

GetGraphMemberLabel()

Returns the label of the derived member type (e.g. Input/Output/Variable)

Public function Virtual Const

UMetasoundEd...

 

GetLiteral()

Returns literal associated with the given member

Public function Virtual Const

FGuid

 

GetMemberID()

Get ID for this member

Public function Virtual Const

FName

 

GetMemberName()

Gets the members name

Public function Virtual Const

TArray< UMet...

 

GetNodes()

Return the nodes associated with this member

Public function Const

const UMetas...

 

GetOwningGraph()

Returns the parent MetaSound Graph.

Public function

UMetasoundEd...

 

GetOwningGraph()

Returns the parent MetaSound Graph.

Public function Virtual Const

Metasound::E...

 

GetSectionID()

Return the section of where this member belongs.

Public function

void

 

MarkNodesForRefresh()

Marks all member's nodes as requiring a display refresh.

Public function Virtual

void

 

ResetToClassDefault()

Resets the member to the class default.

Public function Virtual

void

 

SetDataType

(
    FName InNewType,
    bool bPostTransaction
)

Sets the datatype on the member.

Public function Virtual

void

 

SetDescription

(
    const FText& InDescription,
    bool bPostTransaction
)

Set the member description

Public function Virtual

void

 

SetDisplayName

(
    const FText& InNewName,
    bool bPostTransaction
)

Set the display name

Protected function Virtual

void

 

SetLiteral

Public function Virtual

void

 

SetMemberName

(
    const FName& InNewName,
    bool bPostTransaction
)

Set the member name

Public function Virtual

void

 

UpdateFrontendDefaultLiteral

(
    bool bPostTransaction
)

Update the frontend with the given member's default UObject value.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.