You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
-Soundfield Submixes -Endpoint Submixes -Unreal Ambisonics Encoder/Decoder [FYI] aaron.mcleran, maxwell.hayes, phil.popp, rob.gay, charles.egenbacher, kevin.neilson #ROBOMERGE-OWNER: ethan.geller #ROBOMERGE-AUTHOR: ethan.geller #ROBOMERGE-SOURCE: CL 11302185 via CL 11302187 #ROBOMERGE-BOT: (v649-11301724) [CL 11302191 by ethan geller in Main branch]
46 lines
1.4 KiB
C++
46 lines
1.4 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "EdGraph/EdGraphNode.h"
|
|
#include "SoundSubmixGraphNode.generated.h"
|
|
|
|
class USoundSubmixBase;
|
|
|
|
UCLASS(MinimalAPI)
|
|
class USoundSubmixGraphNode : public UEdGraphNode
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
/** The SoundSubmix this represents */
|
|
UPROPERTY(VisibleAnywhere, instanced, Category=Sound)
|
|
USoundSubmixBase* SoundSubmix;
|
|
|
|
/** Get the Pin that connects to all children */
|
|
UEdGraphPin* GetChildPin() const { return ChildPin; }
|
|
|
|
/** Get the Pin that connects to its parent */
|
|
UEdGraphPin* GetParentPin() const { return ParentPin; }
|
|
|
|
/** Check whether the children of this node match the SoundSubmix it is representing */
|
|
bool CheckRepresentsSoundSubmix();
|
|
|
|
//~ Begin UEdGraphNode Interface.
|
|
virtual FLinearColor GetNodeTitleColor() const override;
|
|
virtual void AllocateDefaultPins() override;
|
|
virtual void AutowireNewNode(UEdGraphPin* FromPin) override;
|
|
virtual bool CanCreateUnderSpecifiedSchema(const UEdGraphSchema* Schema) const override;
|
|
virtual bool CanUserDeleteNode() const override;
|
|
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override;
|
|
//~ End UEdGraphNode Interface.
|
|
|
|
private:
|
|
/** Pin that connects to all children */
|
|
UEdGraphPin* ChildPin;
|
|
|
|
/** Pin that connects to its parent */
|
|
UEdGraphPin* ParentPin;
|
|
};
|