Added ndi receiver and sdi outputs
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
Copyright (C) 2024 Vizrt NDI AB. All rights reserved.
|
||||
|
||||
This file and its use within a Product is bound by the terms of NDI SDK license that was provided
|
||||
as part of the NDI SDK. For more information, please review the license and the NDI SDK documentation.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <CoreMinimal.h>
|
||||
#include <Factories/Factory.h>
|
||||
#include <UObject/Object.h>
|
||||
|
||||
#include "NDIMediaReceiverFactory.generated.h"
|
||||
|
||||
/**
|
||||
Factory Class used to create assets via content browser for NDI Receiver objects
|
||||
*/
|
||||
UCLASS()
|
||||
class NDIIOEDITOR_API UNDIMediaReceiverFactory : public UFactory
|
||||
{
|
||||
GENERATED_UCLASS_BODY()
|
||||
|
||||
public:
|
||||
virtual FText GetDisplayName() const override;
|
||||
virtual uint32 GetMenuCategories() const override;
|
||||
|
||||
virtual bool ShouldShowInNewMenu() const override { return true; }
|
||||
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright (C) 2024 Vizrt NDI AB. All rights reserved.
|
||||
|
||||
This file and its use within a Product is bound by the terms of NDI SDK license that was provided
|
||||
as part of the NDI SDK. For more information, please review the license and the NDI SDK documentation.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <CoreMinimal.h>
|
||||
#include <Factories/Factory.h>
|
||||
#include <UObject/Object.h>
|
||||
|
||||
#include "NDIMediaSenderFactory.generated.h"
|
||||
|
||||
/**
|
||||
Factory Class used to create assets via content browser for NDI Sender objects
|
||||
*/
|
||||
UCLASS()
|
||||
class NDIIOEDITOR_API UNDIMediaSenderFactory : public UFactory
|
||||
{
|
||||
GENERATED_UCLASS_BODY()
|
||||
|
||||
public:
|
||||
virtual FText GetDisplayName() const override;
|
||||
virtual uint32 GetMenuCategories() const override;
|
||||
|
||||
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright (C) 2024 Vizrt NDI AB. All rights reserved.
|
||||
|
||||
This file and its use within a Product is bound by the terms of NDI SDK license that was provided
|
||||
as part of the NDI SDK. For more information, please review the license and the NDI SDK documentation.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <CoreMinimal.h>
|
||||
#include <Factories/Factory.h>
|
||||
#include <UObject/Object.h>
|
||||
|
||||
#include "NDIMediaSoundWaveFactory.generated.h"
|
||||
|
||||
/**
|
||||
Factory Class used to create assets via content browser for NDI Sound Wave objects
|
||||
*/
|
||||
UCLASS()
|
||||
class NDIIOEDITOR_API UNDIMediaSoundWaveFactory : public UFactory
|
||||
{
|
||||
GENERATED_UCLASS_BODY()
|
||||
|
||||
public:
|
||||
virtual FText GetDisplayName() const override;
|
||||
virtual uint32 GetMenuCategories() const override;
|
||||
|
||||
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
Copyright (C) 2024 Vizrt NDI AB. All rights reserved.
|
||||
|
||||
This file and its use within a Product is bound by the terms of NDI SDK license that was provided
|
||||
as part of the NDI SDK. For more information, please review the license and the NDI SDK documentation.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <CoreMinimal.h>
|
||||
#include <Factories/Factory.h>
|
||||
#include <UObject/Object.h>
|
||||
|
||||
#include "NDIMediaTexture2DFactory.generated.h"
|
||||
|
||||
/**
|
||||
Factory Class used to create assets via content browser for NDI Texture2D objects
|
||||
*/
|
||||
UCLASS()
|
||||
class NDIIOEDITOR_API UNDIMediaTexture2DFactory : public UFactory
|
||||
{
|
||||
GENERATED_UCLASS_BODY()
|
||||
|
||||
public:
|
||||
virtual FText GetDisplayName() const override;
|
||||
virtual uint32 GetMenuCategories() const override;
|
||||
|
||||
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
|
||||
};
|
||||
Reference in New Issue
Block a user