Navigation
Unreal Engine C++ API Reference > Editor > EditorFramework > Factories
Inheritance Hierarchy
- IAssetFactoryInterface
References
Module | EditorFramework |
Header | /Engine/Source/Editor/EditorFramework/Public/Factories/AssetFactoryInterface.h |
Include | #include "Factories/AssetFactoryInterface.h" |
Syntax
class IAssetFactoryInterface
Functions
Type | Name | Description |
---|---|---|
void | BeginPlacement ( const FPlacementOptions& InPlaceme... ) | Sets up any states that the factory needs to track across a placement call. |
bool | CanPlaceElementsFromAssetData ( const FAssetData& InAssetData ) | Given an FAssetData, determine if this asset factory can place any elements. |
void | EndPlacement ( TArrayView< const FTypedElementHand..., const FPlacementOptions& InPlaceme... ) | Tears down any state, or kicks off any rebuilds of data that this asset type may need. |
UInstancedPl... | FactorySettingsObjectForPlacement ( const FAssetData& InAssetData, const FPlacementOptions& InPlaceme... ) | Returns the settings object which this factory will use to customize placement settings, based on the given placement information. |
FAssetData | GetAssetDataFromElementHandle ( const FTypedElementHandle& InHandl... ) | Given an FTypedElementHandle, attempt to resolve the handle to the FAssetData which may have placed it. |
TArray< FTyp... | PlaceAsset ( const FAssetPlacementInfo& InPlace..., const FPlacementOptions& InPlaceme... ) | Places the asset. |
void | PostPlaceAsset ( TArrayView< const FTypedElementHand..., const FAssetPlacementInfo& InPlace..., const FPlacementOptions& InPlaceme... ) | Finalizes any placed elements based on adjustments the factory may need to do. |
bool | PrePlaceAsset ( FAssetPlacementInfo& InPlacementIn..., const FPlacementOptions& InPlaceme... ) | Performs any final tweaking of the PlacementInfo that the asset factory may need to do. |