UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AnimNode_RefPose.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
UObject/ObjectMacros.h
"
7
#include "
Animation/AnimNodeBase.h
"
8
#include "AnimNode_RefPose.generated.h"
9
10
UENUM
()
11
enum
ERefPoseType
:
int
12
{
13
EIT_LocalSpace
,
14
EIT_Additive
15
};
16
17
// RefPose pose nodes - ref pose or additive RefPose pose
18
USTRUCT
()
19
struct
FAnimNode_RefPose
:
public
FAnimNode_Base
20
{
21
GENERATED_BODY
()
22
23
private
:
24
#if WITH_EDITORONLY_DATA
25
UPROPERTY
(meta=(
FoldProperty
))
26
TEnumAsByte<ERefPoseType>
RefPoseType =
EIT_LocalSpace
;
27
#endif
// #if WITH_EDITORONLY_DATA
28
29
public
:
30
FAnimNode_RefPose
() =
default
;
31
32
#if WITH_EDITORONLY_DATA
33
// Set the ref pose type of this node
34
void
SetRefPoseType
(
ERefPoseType
InType
) { RefPoseType =
InType
; }
35
#endif
36
37
// Get the type of this ref pose
38
ANIMGRAPHRUNTIME_API
ERefPoseType
GetRefPoseType()
const
;
39
40
ANIMGRAPHRUNTIME_API
virtual
void
Evaluate_AnyThread(
FPoseContext
&
Output
)
override
;
41
ANIMGRAPHRUNTIME_API
virtual
void
GatherDebugData(
FNodeDebugData
& DebugData)
override
;
42
};
43
44
USTRUCT
()
45
struct
FAnimNode_MeshSpaceRefPose
:
public
FAnimNode_Base
46
{
47
GENERATED_BODY
()
48
public
:
49
FAnimNode_MeshSpaceRefPose
() =
default
;
50
51
ANIMGRAPHRUNTIME_API
virtual
void
EvaluateComponentSpace_AnyThread(
FComponentSpacePoseContext
&
Output
);
52
};
AnimNodeBase.h
ERefPoseType
ERefPoseType
Definition
AnimNode_RefPose.h:12
EIT_Additive
@ EIT_Additive
Definition
AnimNode_RefPose.h:14
EIT_LocalSpace
@ EIT_LocalSpace
Definition
AnimNode_RefPose.h:13
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ObjectMacros.h
UPROPERTY
#define UPROPERTY(...)
UObject definition macros.
Definition
ObjectMacros.h:744
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UENUM
#define UENUM(...)
Definition
ObjectMacros.h:749
USTRUCT
#define USTRUCT(...)
Definition
ObjectMacros.h:746
EUserSceneTextureEvent::Output
@ Output
TEnumAsByte
Definition
EnumAsByte.h:22
FAnimNode_Base
Definition
AnimNodeBase.h:853
FAnimNode_MeshSpaceRefPose
Definition
AnimNode_RefPose.h:46
FAnimNode_MeshSpaceRefPose::FAnimNode_MeshSpaceRefPose
FAnimNode_MeshSpaceRefPose()=default
FAnimNode_RefPose
Definition
AnimNode_RefPose.h:20
FAnimNode_RefPose::FAnimNode_RefPose
FAnimNode_RefPose()=default
FComponentSpacePoseContext
Definition
AnimNodeBase.h:600
FNodeDebugData
Definition
AnimNodeBase.h:642
FPoseContext
Definition
AnimNodeBase.h:479
Engine
Source
Runtime
AnimGraphRuntime
Public
AnimNodes
AnimNode_RefPose.h
Generated by
1.9.8