UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MovieScenePreAnimatedStateTypes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "Containers/Array.h"
10
11namespace UE
12{
13namespace MovieScene
14{
15
16struct FEntityAllocationProxy;
17
25
27{
28 bool bForcePersist = false;
29};
30
32{
33 None,
36
38};
39
40
42{
46
50
56
57 bool IsValid() const
58 {
59 return Value != INDEX_NONE;
60 }
61
62 explicit operator bool() const
63 {
64 return Value != INDEX_NONE;
65 }
66
67 operator int32() const
68 {
70 return Value;
71 }
72
74 {
75 return ::GetTypeHash(InIndex.Value);
76 }
78 {
79 return A.Value == B.Value;
80 }
81
83};
84
86{
90
94
100
101 bool IsValid() const
102 {
103 return Value != INDEX_NONE;
104 }
105
106 explicit operator bool() const
107 {
108 return Value != INDEX_NONE;
109 }
110
111 operator int32() const
112 {
114 return Value;
115 }
116
118 {
119 return ::GetTypeHash(InHandle.Value);
120 }
122 {
123 return A.Value == B.Value;
124 }
125
127};
128
129
134{
137
140
142 {
143 return GetTypeHash(InEntry.TypeID) ^ GetTypeHash(InEntry.StorageIndex);
144 }
146 {
147 return A.TypeID == B.TypeID && A.StorageIndex == B.StorageIndex;
148 }
149};
150
151
158{
163
164 bool IsValid() const
165 {
167 }
168
169 explicit operator bool() const
170 {
172 }
173
175 {
176 return GetTypeHash(InEntry.GroupHandle) ^ GetTypeHash(InEntry.ValueHandle);
177 }
179 {
180 return A.GroupHandle == B.GroupHandle && A.ValueHandle == B.ValueHandle;
181 }
182};
183
184
199
200
201
202
203} // namespace MovieScene
204} // namespace UE
#define check(expr)
Definition AssertionMacros.h:314
@ INDEX_NONE
Definition CoreMiscDefines.h:150
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
uint8_t uint8
Definition binka_ue_file_header.h:8
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition MovieScene.Build.cs:6
Definition Array.h:670
EPreAnimatedStorageRequirement
Definition MovieScenePreAnimatedStateTypes.h:32
Definition AdvancedWidgetsModule.cpp:13
Definition MovieScenePreAnimatedStateTypes.h:27
bool bForcePersist
Definition MovieScenePreAnimatedStateTypes.h:28
Definition MovieSceneEntitySystemTypes.h:977
Definition MovieScenePreAnimatedStateTypes.h:134
FPreAnimatedStorageID TypeID
Definition MovieScenePreAnimatedStateTypes.h:136
friend bool operator==(const FPreAnimatedStateCachedValueHandle &A, const FPreAnimatedStateCachedValueHandle &B)
Definition MovieScenePreAnimatedStateTypes.h:145
FPreAnimatedStorageIndex StorageIndex
Definition MovieScenePreAnimatedStateTypes.h:139
friend uint32 GetTypeHash(const FPreAnimatedStateCachedValueHandle &InEntry)
Definition MovieScenePreAnimatedStateTypes.h:141
Definition MovieScenePreAnimatedStateTypes.h:158
FPreAnimatedStorageGroupHandle GroupHandle
Definition MovieScenePreAnimatedStateTypes.h:160
FPreAnimatedStateCachedValueHandle ValueHandle
Definition MovieScenePreAnimatedStateTypes.h:162
friend uint32 GetTypeHash(const FPreAnimatedStateEntry &InEntry)
Definition MovieScenePreAnimatedStateTypes.h:174
friend bool operator==(const FPreAnimatedStateEntry &A, const FPreAnimatedStateEntry &B)
Definition MovieScenePreAnimatedStateTypes.h:178
bool IsValid() const
Definition MovieScenePreAnimatedStateTypes.h:164
Definition MovieScenePreAnimatedStateTypes.h:190
FPreAnimatedStateEntry Entry
Definition MovieScenePreAnimatedStateTypes.h:192
bool bWantsRestoreState
Definition MovieScenePreAnimatedStateTypes.h:196
FRootInstanceHandle RootInstanceHandle
Definition MovieScenePreAnimatedStateTypes.h:194
Definition MovieScenePreAnimatedStateTypes.h:86
int32 Value
Definition MovieScenePreAnimatedStateTypes.h:126
friend uint32 GetTypeHash(const FPreAnimatedStorageGroupHandle &InHandle)
Definition MovieScenePreAnimatedStateTypes.h:117
FPreAnimatedStorageGroupHandle(int32 InNewValue)
Definition MovieScenePreAnimatedStateTypes.h:91
friend bool operator==(const FPreAnimatedStorageGroupHandle &A, const FPreAnimatedStorageGroupHandle &B)
Definition MovieScenePreAnimatedStateTypes.h:121
FPreAnimatedStorageGroupHandle()
Definition MovieScenePreAnimatedStateTypes.h:87
FPreAnimatedStorageGroupHandle & operator=(int32 InNewValue)
Definition MovieScenePreAnimatedStateTypes.h:95
bool IsValid() const
Definition MovieScenePreAnimatedStateTypes.h:101
Definition MovieScenePreAnimatedStorageID.h:14
Definition MovieScenePreAnimatedStateTypes.h:42
FPreAnimatedStorageIndex()
Definition MovieScenePreAnimatedStateTypes.h:43
FPreAnimatedStorageIndex(int32 InNewValue)
Definition MovieScenePreAnimatedStateTypes.h:47
int32 Value
Definition MovieScenePreAnimatedStateTypes.h:82
friend bool operator==(const FPreAnimatedStorageIndex &A, const FPreAnimatedStorageIndex &B)
Definition MovieScenePreAnimatedStateTypes.h:77
friend uint32 GetTypeHash(const FPreAnimatedStorageIndex &InIndex)
Definition MovieScenePreAnimatedStateTypes.h:73
FPreAnimatedStorageIndex & operator=(int32 InNewValue)
Definition MovieScenePreAnimatedStateTypes.h:51
bool IsValid() const
Definition MovieScenePreAnimatedStateTypes.h:57
Definition MovieScenePreAnimatedStateTypes.h:19
int32 Num
Definition MovieScenePreAnimatedStateTypes.h:22
bool bWantsRestoreState
Definition MovieScenePreAnimatedStateTypes.h:23
Definition MovieSceneSequenceInstanceHandle.h:58