USoundCueGraphSchema

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioEditor

Header

/Engine/Source/Editor/AudioEditor/Classes/SoundCueGraph/SoundCueGraphSchema.h

Include

#include "SoundCueGraph/SoundCueGraphSchema.h"

Syntax

class USoundCueGraphSchema : public UEdGraphSchema

Constructors

Name Description

Public function

USoundCueGraphSchema

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

ConnectionCausesLoop

(
    const UEdGraphPin* InputPin,
    const UEdGraphPin* OutputPin
)

Check whether connecting these pins would cause a loop

Public function Const

void

 

GetPaletteActions

(
    FGraphActionMenuBuilder& ActionMen...
)

Helper method to add items valid to the palette list

Public function Const

void

 

TryConnectNodes

(
    const TArray< USoundNode* >& ...,
    USoundNode* InputNode
)

Attempts to connect the output of multiple nodes to the inputs of a single one

Overridden from UEdGraphSchema

Name Description

Public function Virtual Const

void

 

BreakNodeLinks

(
    UEdGraphNode& TargetNode
)

Breaks all links from/to a single node

Public function Virtual Const

void

 

BreakPinLinks

(
    UEdGraphPin& TargetPin,
    bool bSendsNodeNotifcation
)

Breaks all links from/to a single pin

Public function Virtual Const

const FPinCo...

 

CanCreateConnection

(
    const UEdGraphPin* A,
    const UEdGraphPin* B
)

Determine if a connection can be created between two pins.

Public function Virtual Const

void

 

CreateDefaultNodesForGraph

(
    UEdGraph& Graph
)

Populate new graph with any default nodes

Public function Virtual Const

void

 

DroppedAssetsOnGraph

(
    const TArray< struct FAssetData >&...,
    const FVector2D& GraphPosition,
    UEdGraph* Graph
)

Called when asset(s) are dropped onto a graph background.

Public function Virtual Const

void

 

DroppedAssetsOnNode

(
    const TArray< FAssetData >& Assets,
    const FVector2D& GraphPosition,
    UEdGraphNode* Node
)

Called when asset(s) are dropped onto the specified node

Public function Virtual Const

void

 

GetAssetsGraphHoverMessage

(
    const TArray< FAssetData >& Assets,
    const UEdGraph* HoverGraph,
    FString& OutTooltipText,
    bool& OutOkIcon
)

Allows schema to generate a tooltip (icon & message) when the specified asset(s) are dragged over the specified graph

Public function Virtual Const

void

 

GetContextMenuActions

(
    UToolMenu* Menu,
    UGraphNodeContextMenuContext* ...
)

Gets actions that should be added to the right-click context menu for a node or pin

Public function Virtual Const

TSharedPtr< ...

 

GetCreateCommentAction()

Returns schema action to create comment from implemention

Public function Virtual Const

void

 

GetGraphContextActions

(
    FGraphContextMenuBuilder& ContextM...
)

Get all actions that can be performed when right clicking on a graph or drag-releasing on a graph from a pin

Public function Virtual Const

int32

 

GetNodeSelectionCount

(
    const UEdGraph* Graph
)

Returns the currently selected graph node count

Public function Virtual Const

FLinearColor

 

GetPinTypeColor

(
    const FEdGraphPinType& PinType
)

Gets the draw color of a pin based on it's type.

Public function Virtual Const

bool

 

ShouldHidePinDefaultValue

(
    UEdGraphPin* Pin
)

If we should disallow viewing and editing of the supplied pin

Public function Virtual Const

bool

 

TryCreateConnection

(
    UEdGraphPin* A,
    UEdGraphPin* B
)

Try to make a connection between two pins.

Constants

Name

Description

bSoundNodeClassesInitialized

Whether the list of SoundNode classes has been populated

SoundNodeClasses

A list of all available SoundNode classes