ULevelSnapshotsEditorFunctionLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UBlueprintFunctionLibrary

ULevelSnapshotsEditorFunctionLibrary

References

Module

LevelSnapshotsEditor

Header

/Engine/Plugins/VirtualProduction/LevelSnapshots/Source/LevelSnapshotsEditor/Public/LevelSnapshotsEditorFunctionLibrary.h

Include

#include "LevelSnapshotsEditorFunctionLibrary.h"

Syntax

UCLASS()
class ULevelSnapshotsEditorFunctionLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

void

 

GenerateThumbnailForSnapshotAsset

(
    ULevelSnapshot* SnapshotPackag...
)

If the snapshot is saved in the registry, takes a screenshot of the editor scene and sets it as thumnail for the snapshot.

Public function Static UFunction BlueprintCallable, Category

void

 

TakeAndSaveLevelSnapshotEditorWorld

(
    const FString& FileName,
    const FString& FolderPath,
    const FString& Description
)

Uses TakeLevelSnapshotAndSaveToDisk() and assumes Editor World

Public function Static UFunction BlueprintCallable, Category, Meta

ULevelSnapsh...

 

TakeLevelSnapshotAndSaveToDisk

(
    const UObject* WorldContextObj...,
    const FString& FileName,
    const FString& FolderPath,
    const FString& Description,
    const bool bShouldCreateUniqueFileN...
)

Creates a new Level Snapshot asset in the content browser and then captures the target world.