Navigation
API > API/Editor > API/Editor/PlacementMode
References
| Module | PlacementMode |
| Header | /Engine/Source/Editor/PlacementMode/Public/IPlacementModeModule.h |
| Include | #include "IPlacementModeModule.h" |
Syntax
struct FPlaceableItem
Remarks
Structure defining a placeable item in the placement mode panel
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAssetData | AssetData | Asset data pertaining to the class | |
| TOptional< FLinearColor > | AssetTypeColorOverride | Optional overridden color tint for the asset | |
| bool | bAlwaysUseGenericThumbnail | Whether to always use the generic thumbnail for this item or not | |
| FName | ClassIconBrushOverride | Optional override for the small icon brush | |
| FName | ClassThumbnailBrushOverride | Optional override for the thumbnail brush (passed to FClassIconFinder::FindThumbnailForClass in the form ClassThumbnail. |
|
| FText | DisplayName | This item's display name | |
| UActorFactory * | Factory | The factory used to create an instance of this placeable item | |
| FString | NativeName | This item's native name | |
| TOptional< int32 > | SortOrder | Optional sort order (lowest first). Overrides default class name sorting. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
FPlaceableItem
(
UClass& InAssetClass, |
Constructor for any placeable class | ||
FPlaceableItem
(
UActorFactory* InFactory, |
Constructor that takes a specific factory and asset | ||
FPlaceableItem
(
UClass& InAssetClass, |
Constructor for any placeable class with associated asset data, brush and display name overrides |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Automatically set this item's native and display names from its class or asset | ||
| FName | Return NativeName as an FName (and cache it) |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Use AutoSetNativeAndDisplayName instead |