Navigation
API > API/Plugins > API/Plugins/MetasoundEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMetasoundEditorGraphMember
- UMetasoundEditorGraphVariable
- UMetasoundEditorGraphVertex
- UMetasoundEditorGraphInput
- UMetasoundEditorGraphOutput
References
| Module | MetasoundEditor |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Public/MetasoundEditorGraph.h |
| Include | #include "MetasoundEditorGraph.h" |
Syntax
UCLASS&40;Abstract&41;
class UMetasoundEditorGraphMember : public UObject
Remarks
UMetasoundEditorGraphMember is a base class for non-node graph level members such as inputs, outputs and variables.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMetasoundEditorGraphMemberDefaultLiteral > | Literal | Default literal value of member | |
| FOnMetasoundMemberRenameRequested | OnRenameRequested | Delegate called when a rename is requested on a renameable member node. | |
| FName | TypeName | Metasound Data Type. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | If the Member Name can be changed to InNewName, returns true, otherwise returns false with an error. | ||
| bool | CanRename () |
Whether this member can be renamed. | |
| FName | GetDataType () |
Returns the current data type | |
| FText | Get the member description | ||
| FText | Get the member display name | ||
| const FText & | Returns the label of the derived member type (e.g. Input/Output/Variable) | ||
| UMetasoundEditorGraphMemberDefaultLiteral * | GetLiteral () |
Returns literal associated with the given member | |
| FName | |||
| FGuid | GetMemberID () |
Get ID for this member | |
| FName | Gets the members name | ||
| TArray< UMetasoundEditorGraphMemberNode * > | GetNodes () |
Return the nodes associated with this member | |
| const UMetasoundEditorGraph * | Returns the parent MetaSound Graph. | ||
| UMetasoundEditorGraph * | Returns the parent MetaSound Graph. | ||
| Metasound::Editor::ENodeSection | GetSectionID () |
Return the section of where this member belongs. | |
| void | Creates new literal if there is none and/or conforms literal object type to member's DataType | ||
| void | Resets the member to the class default. | ||
| void | SetDataType
(
FName InNewType, |
Sets the datatype on the member. | |
| void | SetDescription
(
const FText& InDescription, |
Set the member description | |
| void | SetDisplayName
(
const FText& InNewName, |
Set the display name | |
| void | SetMemberName
(
const FName& InNewName, |
Set the member name | |
| void | UpdateFrontendDefaultLiteral
(
bool bPostTransaction |
Update the frontend with the given member's default UObject value. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditUndo () |
Called after applying a transaction to the object. |