FPackageTrailerBuilder::CreateReferenceToTrailer

Creates a builder from a pre-existing [FPackageTrailer](API\Runtime\CoreUObject\UObject\FPackageTrailer) that will will reference the local payloads of the source trailer.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/PackageTrailer.h

Include

#include "UObject/PackageTrailer.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/PackageTrailer.cpp

Syntax

static TUniquePtr< UE::FPackageTrailerBuilder > CreateReferenceToTrailer
(
    const class FPackageTrailer & Trailer,
    const FName & PackageName
)

Remarks

Creates a builder from a pre-existing FPackageTrailer that will will reference the local payloads of the source trailer. This means that there is no need to load the payloads.

Parameters

Parameter

Description

Trailer

The trailer to create the reference from.

PackageName

The name of the package that owns the trailer. Used for error messages.