Navigation
API > API/Plugins > API/Plugins/RigLogicLib
Anchor is a virtual, utility type only (meaning it does not write or read any data from the stream) It only captures the current position in the stream (into an in-memory variable only), at the time when the anchor is encountered in the serialization process. An Anchor can be associated with an ArchiveSize type, and ArchiveSize will use it as the base offset from which to calculate its own size.
| Name | Anchor |
| Type | struct |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/terse/types/Anchor.h |
| Include Path | #include "terse/types/Anchor.h" |
Syntax
template<typename TOffset>
struct Anchor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Anchor () |
terse/types/Anchor.h | ||
| terse/types/Anchor.h | |||
| terse/types/Anchor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~Anchor() |
terse/types/Anchor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnMoveCallback | void(*)(Anchor *, void *) | terse/types/Anchor.h | |
| ValueType | TOffset | terse/types/Anchor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| onMoveCallback | OnMoveCallback | terse/types/Anchor.h | ||
| onMoveCallbackData | void * | terse/types/Anchor.h | ||
| value | ValueType | terse/types/Anchor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void onMove
(
OnMoveCallback callback, |
terse/types/Anchor.h |