You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb simon.therriault #jira UE-76445 fix CIS missing include introduce with CL 6907128 #jra UE-75946 #rb none Fix when converting old live link sequence data. Was always creating an animation role data but sequence with no bones should be made with the basic role only. #rb mike.zyracki #jira UE-76037 Added AxisSwitch PreProcessor for LiveLink #jira UE-75519 #rb patrick.boutot, simon.therriault Fix for empty curves in old live link sequence data #rb patrick.boutot #jira UE-76037 Fix LiveLink style path for one image. #rb simon.therriault, jamie.dale #jira UE-75287 Fix for crash when opening Mobu. TargetPlatformManager must be initialized early on in game thread when using UDPMessaging #rb patrick.boutot #jira UE-75680 Add deprecation path for LiveLinkBlueprintStructs. #jira UE-76057 #rb simon.therriault Update EvaluateLiveLink blueprint node. Fix output and use the role as a separate output. Remove LiveLink evaluate by world time and use World Time Offset, since we are using double for time and float is not precise enough. Add evaluate LiveLink at sene and world time to Blueprint. Expose LiveLink "enabled" functions #rb simon.therriault #jira UE-75794 Missing include introduce with last integration CL 6939912 #rb none #jira UE-76120, UE-76121 - Fix for crash when evaluating a basic object from mobu with the skeleton hierarchy (property names were not matching property values) #rb patrick.boutot #jira UE-75057, UE-75579 Add default value for LiveLinkFrameInterpolator #rb simon.therriault #jira UE-76443 - Changed behavior when static data received with different role. Previous subject is removed and a new one is created - Fix for crash when pushing subject frame without static data received. #rb patrick.boutot #jira UE-75195 Fix for LiveLinkComponent posteditchange not listening for inner struct member changed #rb patrick.boutot, daniel.rahier #jira UE-75793 Add comments and deprecation path to LiveLinkSourceFactor #rb simon.therriault [FYI] david.hibbitts - Updating LiveLink AnimPose and PreviewController to use new picker #rb patrick.boutot #jira UE-75600 Fixing CIS : Missing include and deprecation warning disable #rb patrick.boutot #jira UE-76424, UE-76420 #ROBOMERGE-SOURCE: CL 7065660 in //UE4/Release-4.23/... #ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689) [CL 7065663 by patrick boutot in Main branch]
60 lines
2.4 KiB
C++
60 lines
2.4 KiB
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/Object.h"
|
|
#include "LiveLinkSourceFactory.generated.h"
|
|
|
|
class ILiveLinkSource;
|
|
class ILiveLinkClient;
|
|
class SWidget;
|
|
|
|
/**
|
|
* Base class of factory that creates Source. A source can be created in the editor via the Live Link panel or at runtime via a connection string.
|
|
*/
|
|
UCLASS(Abstract)
|
|
class LIVELINKINTERFACE_API ULiveLinkSourceFactory : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/** The name of the menu item (of any EMenuType) */
|
|
virtual FText GetSourceDisplayName() const PURE_VIRTUAL( ULiveLinkSourceFactory::GetSourceDisplayName, return FText(); );
|
|
|
|
/** The tooltip of the menu item (of any EMenyType) */
|
|
virtual FText GetSourceTooltip() const PURE_VIRTUAL(ULiveLinkSourceFactory::GetSourceTooltip, return FText(); );
|
|
|
|
UE_DEPRECATED(4.23, "CreateSourceCreationPanel is deprecated. LiveLinkSourceFactory can now be used at runtime. This factory won't work until it's been updated.")
|
|
virtual TSharedPtr<SWidget> CreateSourceCreationPanel();
|
|
|
|
UE_DEPRECATED(4.23, "OnSourceCreationPanelClosed is deprecated. LiveLinkSourceFactory can now be used at runtime. The factory won't work until it's been updated.")
|
|
virtual TSharedPtr<ILiveLinkSource> OnSourceCreationPanelClosed(bool bMakeSource);
|
|
|
|
enum class EMenuType
|
|
{
|
|
SubPanel, // In the UI, a sub menu will used
|
|
MenuEntry, // In the UI, a button will be used
|
|
Disabled, // In the UI, the button will be used but it will be disabled
|
|
};
|
|
|
|
/**
|
|
* How the factory should be visible in the LiveLink UI.
|
|
* If SubPanel, BuildCreationPanel should be implemented.
|
|
*/
|
|
virtual EMenuType GetMenuType() const { return EMenuType::Disabled; }
|
|
|
|
DECLARE_DELEGATE_TwoParams(FOnLiveLinkSourceCreated, TSharedPtr<ILiveLinkSource> /*Created source*/, FString /*ConnectionString*/);
|
|
|
|
/**
|
|
* Create a widget responsible for the creation of a Live Link source.
|
|
* @param OnLiveLinkSourceCreated Callback to call when the source has been created by the custom UI.
|
|
* @return The subpanel UI created by the factory.
|
|
*/
|
|
virtual TSharedPtr<SWidget> BuildCreationPanel(FOnLiveLinkSourceCreated OnLiveLinkSourceCreated) const;
|
|
|
|
/** Create a new source from a ConnectionString */
|
|
virtual TSharedPtr<ILiveLinkSource> CreateSource(const FString& ConnectionString) const PURE_VIRTUAL(ULiveLinkSourceFactory::CreateSource, return TSharedPtr<ILiveLinkSource>(); );
|
|
};
|