UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LiveLinkInstance.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
8
9#include "LiveLinkInstance.generated.h"
10
12
14USTRUCT()
16{
17public:
19
21
25
30
32 LIVELINKANIMATIONCORE_API virtual void PreUpdate(UAnimInstance* InAnimInstance, float DeltaSeconds) override;
33 LIVELINKANIMATIONCORE_API virtual bool Evaluate(FPoseContext& Output) override;
34 LIVELINKANIMATIONCORE_API virtual void UpdateAnimationNode(const FAnimationUpdateContext& InContext) override;
35
36 UPROPERTY(EditAnywhere, Category = Settings)
38};
39
40UCLASS(transient, NotBlueprintable, MinimalAPI)
42{
44
45public:
46
47 UFUNCTION(BlueprintCallable, Category="Animation|Live Link")
48 void SetSubject(FLiveLinkSubjectName SubjectName)
49 {
50 GetProxyOnGameThread<FLiveLinkInstanceProxy>().PoseNode.LiveLinkSubjectName = SubjectName;
51 }
52
53 UFUNCTION(BlueprintCallable, Category = "Animation|Live Link")
58
59 UFUNCTION(BlueprintCallable, Category = "Animation|Live Link")
60 void EnableLiveLinkEvaluation(bool bDoEnable)
61 {
62 GetProxyOnGameThread<FLiveLinkInstanceProxy>().PoseNode.bDoLiveLinkEvaluation = bDoEnable;
63 }
64
66 {
67 return GetProxyOnGameThread<FLiveLinkInstanceProxy>().PoseNode.bDoLiveLinkEvaluation;
68 }
69
70protected:
71 LIVELINKANIMATIONCORE_API virtual FAnimInstanceProxy* CreateAnimInstanceProxy() override;
72 LIVELINKANIMATIONCORE_API virtual void DestroyAnimInstanceProxy(FAnimInstanceProxy* InProxy) override;
73
74 // Cache for GC
77
79};
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition SubclassOf.h:30
Definition AnimInstance.h:353
Definition LiveLinkInstance.h:42
bool GetEnableLiveLinkEvaluation()
Definition LiveLinkInstance.h:65
Definition LiveLinkRetargetAsset.h:25
Definition AnimInstanceProxy.h:144
Definition AnimNode_LiveLinkPose.h:24
TObjectPtr< ULiveLinkRetargetAsset > CurrentRetargetAsset
Definition AnimNode_LiveLinkPose.h:47
virtual LIVELINKANIMATIONCORE_API void PreUpdate(const UAnimInstance *InAnimInstance) override
Definition AnimNode_LiveLinkPose.cpp:65
TSubclassOf< ULiveLinkRetargetAsset > RetargetAsset
Definition AnimNode_LiveLinkPose.h:44
Definition AnimNodeBase.h:354
Definition LiveLinkInstance.h:16
FLiveLinkInstanceProxy(UAnimInstance *InAnimInstance)
Definition LiveLinkInstance.h:26
Definition LiveLinkTypes.h:40
Definition AnimNodeBase.h:479
Definition ObjectPtr.h:488