Navigation
API > API/Plugins > API/Plugins/PSDImporter
This class is used to store information about a PSD document, such as its name, size, and layers. It is intended to be used as part of the PSD Importer API in Unreal Engine.
| Name | UPSDDocument |
| Type | class |
| Header File | /Engine/Plugins/Experimental/PSDImporter/Source/PSDImporter/Public/PSDDocument.h |
| Include Path | #include "PSDDocument.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class UPSDDocument : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPSDDocument
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPSDDocument() |
PSDDocument.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetImportData | TObjectPtr< UAssetImportData > | PSDDocument.h |
|
|
| bImportInvisibleLayers | bool | PSDDocument.h |
|
|
| bLayersResizedOnImport | bool | PSDDocument.h | ||
| bResizeLayersToDocument | bool | PSDDocument.h |
|
|
| DocumentName | FString | Original document name, the asset may differ (if the user renamed it). | PSDDocument.h |
|
| FileDocument | FPSDFileDocument | PSDDocument.h | ||
| meta | PSDDocument.h |
|
||
| Size | FIntPoint | Resolution (in pixels); | PSDDocument.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetDocumentName() |
PSDDocument.h |
|
|
const TArray< FPSDFileLayer > & GetLayers() |
PSDDocument.h |
|
|
const FIntPoint & GetSize() |
PSDDocument.h |
|
|
int32 GetTextureCount() |
PSDDocument.h | ||
TArray< const FPSDFileLayer * > GetValidLayers() |
Returns the layers with a valid size, that are visible, that aren't completely opaque and have a supported type. | PSDDocument.h | |
bool WereLayersResizedOnImport() |
PSDDocument.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext InContext |
PSDDocument.h |