FLinkerInstancingContext

Helper class to remap package imports during loading.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/LinkerInstancingContext.h"

Syntax

class FLinkerInstancingContext

Remarks

Helper class to remap package imports during loading. This is usually when objects in a package are outer-ed to object in another package or vice versa. Instancing such a package without a instance remapping would resolve imports to the original package which is not desirable in an instancing context (i.e. loading a level instance) This is because an instanced package has a different name than the package file name on disk, this class is used in the linker to remaps reference to the package name as stored in import tables on disk to the corresponding instanced package or packages we are loading.

Constructors

Name Description

Public function

FLinkerInstancingContext()

Public function

FLinkerInstancingContext

(
    TMap < FName , FName > InInstanceMapp...
)

Functions

Name Description

Public function

void

 

AddMapping

(
    FName Original,
    FName Instanced
)

Public function

void

 

AppendMapping

(
    const TMap < FName , FName >& NewMap...
)

Public function Const

bool

 

IsInstanced()

Public function Const

FName

 

Remap

(
    const FName & ObjectName
)

Remap the object name from the import table to its instanced counterpart, otherwise return the name unmodified.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback