![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FrameValue.h>
Public Member Functions | |
| TFrameValue (const ValueType &InValue) | |
| TFrameValue (ValueType &&InValue) | |
| TFrameValue () | |
| TFrameValue (const TFrameValue &InValue) | |
| TFrameValue (TFrameValue &&InValue) | |
| TFrameValue & | operator= (const TFrameValue &InValue) |
| TFrameValue & | operator= (TFrameValue &&InValue) |
| TFrameValue & | operator= (const ValueType &InValue) |
| TFrameValue & | operator= (ValueType &&InValue) |
| bool | IsSet () const |
| const ValueType & | GetValue () const |
| ValueType | TryGetValue (ValueType UnsetValue) const & |
| ValueType | TryGetValue (ValueType UnsetValue) && |
This struct allows you to cache a value for a frame, and automatically invalidates when the frame advances. If the value was set this frame, IsSet() returns true and GetValue() is valid.
|
inline |
Construct an OptionalType with a valid value.
|
inline |
|
inline |
Construct an OptionalType with no value; i.e. unset
|
inline |
Copy/Move construction
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |