Navigation
API > API/Plugins > API/Plugins/UAF
An asset instance component is attached and owned by an asset instance.
| Name | FUAFAssetInstanceComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAFAssetInstanceComponent.h |
| Include Path | #include "UAFAssetInstanceComponent.h" |
Syntax
USTRUCT (Meta=(Hidden, Abstract))
struct FUAFAssetInstanceComponent
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUAFAssetInstanceComponent() |
UAFAssetInstanceComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUAFAssetInstanceComponent() |
UAFAssetInstanceComponent.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ContainerType | FUAFAssetInstance | UAFAssetInstanceComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns the owning asset instance this component lives on Will assert if an owning asset instance has not been created (such as a default component on an asset) | UAFAssetInstanceComponent.h | ||
const FUAFAssetInstance & GetAssetInstance () |
Returns the owning asset instance this component lives on Will assert if an owning asset instance has not been created (such as a default component on an asset) | UAFAssetInstanceComponent.h | |
FUAFAssetInstance * GetAssetInstancePtr() |
Returns the owning asset instance this component lives on Can return nullptr if an owning asset instance has not been created (such as a default component on an asset) | UAFAssetInstanceComponent.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const UScriptStruct * GetScriptStruct() |
Get the UScriptStruct of this component, must be overriden in derived structs (use DECLARE_UAF_ASSET_INSTANCE_COMPONENT) | UAFAssetInstanceComponent.h |