FStructBuilder::AddMember

Adds a new member to the end of the struct.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/StructBuilder.h

Include

#include "Misc/StructBuilder.h"

Syntax

int32 AddMember
(
    int32 MemberSize,
    int32 MemberAlignment
)

Remarks

Adds a new member to the end of the struct.

Returns

The offset of the member from the start of the struct.

Parameters

Parameter

Description

MemberSize

The size of the member.

MemberAlignment

The alignment of the member.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss