RealDocs

UKismetSystemLibrary::SnapshotObject

function Engine Blueprint Since unknown
#include "Kismet/KismetSystemLibrary.h"
Access: public Specifiers: staticBlueprintCallable

Description

Notifies the current transaction (if any) that this object should be snapshot for an intermediate update, without closing out the full undo record. Editor-only.

Caveats & Gotchas

  • Internally calls SnapshotTransactionBuffer, which is designed for high-frequency intermediate updates (e.g. dragging a slider in a details panel) rather than a single discrete edit — use TransactObject for one-off changes.
  • Only available in the editor and only meaningful while a transaction is active.

Signature

static void SnapshotObject(UObject* Object)

Parameters

Name Type Description Default
Object UObject* The object that is about to be modified.

Return Type

void

Example

Snapshot an object during a continuous drag-edit interaction C++
UKismetSystemLibrary::BeginTransaction(TEXT("MyEditorTool"), FText::FromString(TEXT("Adjust Value")), nullptr);
// On each intermediate drag update:
UKismetSystemLibrary::SnapshotObject(TargetActor);
TargetActor->SomeFloatValue = NewDragValue;
// On drag end:
UKismetSystemLibrary::EndTransaction();

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.