![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StructBuilder.h>
Public Member Functions | |
| constexpr | FStructBuilder () |
| constexpr int32 | AddMember (int32 MemberSize, int32 MemberAlignment) |
| constexpr int32 | GetSize () const |
| constexpr int32 | GetAlignment () const |
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.
|
inlineconstexpr |
|
inlineconstexpr |
Adds a new member to the end of the struct.
| MemberSize | The size of the member. |
| MemberAlignment | The alignment of the member. |
Returns the current alignment of the struct.
Returns the current size of the struct.