AColorCorrectRegion::Cleanup

We have to manage the lifetime of the region ourselves, because EndPlay is not guaranteed to be called and BeginDestroy could be called from GC when it is too late.

Windows
MacOS
Linux

References

Module

ColorCorrectRegions

Header

/Engine/Plugins/Experimental/ColorCorrectRegions/Source/ColorCorrectRegions/Public/ColorCorrectRegion.h

Include

#include "ColorCorrectRegion.h"

Source

/Engine/Plugins/Experimental/ColorCorrectRegions/Source/ColorCorrectRegions/Private/ColorCorrectRegion.cpp

Syntax

void Cleanup()

Remarks

We have to manage the lifetime of the region ourselves, because EndPlay is not guaranteed to be called and BeginDestroy could be called from GC when it is too late.

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