Navigation
API > API/Runtime > API/Runtime/CoreUObject
UObject resource type for objects that are referenced by this package, but contained within another package.
| Name | FObjectImport |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectResource.h |
| Include Path | #include "UObject/ObjectResource.h" |
Syntax
struct FObjectImport : public FObjectResource
Inheritance Hierarchy
- FObjectResource → FObjectImport
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Constructors | UObject/ObjectResource.h | ||
FObjectImport
(
UObject* InObject |
UObject/ObjectResource.h | ||
FObjectImport
(
UObject* InObject, |
UObject/ObjectResource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bImportFailed | bool | UObject/ObjectResource.h | ||
| bImportOptional | bool | Indicate if the import comes from an optional package, used to generate the proper chunk id in the io store | UObject/ObjectResource.h | |
| bImportPackageHandled | bool | UObject/ObjectResource.h | ||
| bImportSearchedFor | bool | UObject/ObjectResource.h | ||
| ClassName | FName | The name of the class for the UObject represented by this resource. | UObject/ObjectResource.h | |
| ClassPackage | FName | The name of the package that contains the class of the UObject represented by this resource. | UObject/ObjectResource.h | |
| PackageName | FName | Package Name this import belongs to. | UObject/ObjectResource.h | |
| SourceIndex | int32 | Index into SourceLinker's ExportMap for the export associated with this import's UObject. | UObject/ObjectResource.h | |
| SourceLinker | FLinkerLoad * | The linker that contains the original FObjectExport resource associated with this import. | UObject/ObjectResource.h | |
| XObject | UObject * | The UObject represented by this resource. | UObject/ObjectResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetPackageName() |
Accessor function to get the import package name Handles editor only code. | UObject/ObjectResource.h | |
bool HasPackageName() |
Accessor function to check if the import has package name set Handles editor only code. | UObject/ObjectResource.h | |
void SetPackageName
(
FName InPackageName |
Accessor function to set the import PackageName Handles editor only code. | UObject/ObjectResource.h |