GTexAlignTools

This structure is using a static multicast delegate, so creating a static instance is dangerous because there is nothing to control the destruction order.

Windows
MacOS
Linux

Syntax

FTexAlignTools GTexAlignTools

Remarks

This structure is using a static multicast delegate, so creating a static instance is dangerous because there is nothing to control the destruction order. If the multicast is destroy first we will have dangling pointer. The solution to this is to call release in the shutdown of the editor (see FUnrealEdMisc::OnExit) which happen before any static destructor.

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