Navigation
API > API/Editor > API/Editor/UnrealEd
This class knows how to get or set the asset on a particular kind of actor component
One asset type can be associated with multiple component types, but any given component type only understands how to be created from a single asset type (for now)
| Name | IComponentAssetBroker |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/ComponentAssetBroker.h |
| Include Path | #include "ComponentAssetBroker.h" |
Syntax
class IComponentAssetBroker
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IComponentAssetBroker() |
ComponentAssetBroker.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AssignAssetToComponent
(
UActorComponent* InComponent, |
Assign the assigned asset to the supplied component | ComponentAssetBroker.h | |
UObject * GetAssetFromComponent
(
UActorComponent* InComponent |
Get the currently assigned asset from the component | ComponentAssetBroker.h | |
UClass * GetSupportedAssetClass() |
Reports the component class this broker knows how to handle Reports the asset class this broker knows how to handle | ComponentAssetBroker.h |