Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/StructBuilder.h |
| Include | #include "Misc/StructBuilder.h" |
Syntax
class FStructBuilder
Remarks
Lays out up a struct at runtime, in hopefully the same way as a compiler, and returns the offset of each member as it's added.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | AddMember
(
int32 MemberSize, |
Adds a new member to the end of the struct. | |
| int32 | GetAlignment () |
Returns the current alignment of the struct. | |
| int32 | GetSize () |
Returns the current size of the struct. |