ULightComponent::PreSave

Presave function.

Windows
MacOS
Linux

Warnings

  • Objects created from within PreSave will NOT have PreSave called on them!!!

Override Hierarchy

UObject::PreSave()

ULightComponent::PreSave()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/LightComponent.h

Include

#include "Components/LightComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/LightComponent.cpp

Syntax

virtual void PreSave
(
    const class ITargetPlatform * TargetPlatform
)

Remarks

Presave function. Gets called once before an object gets serialized for saving. This function is necessary for save time computation as Serialize gets called three times per object from within SavePackage.

: Objects created from within PreSave will NOT have PreSave called on them!!!

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