IComponentAssetBroker

This class knows how to get or set the asset on a particular kind of actor component

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ComponentAssetBroker.h

Include

#include "ComponentAssetBroker.h"

Syntax

class IComponentAssetBroker

Remarks

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)

Destructors

Name Description

Public function Virtual

~IComponentAssetBroker()

Functions

Name Description

Public function

bool

 

AssignAssetToComponent

(
    UActorComponent* InComponent,
    UObject* InAsset
)

Assign the assigned asset to the supplied component

Public function

UObject *...

 

GetAssetFromComponent

(
    UActorComponent* InComponent
)

Get the currently assigned asset from the component

Public function

UClass *

 

GetSupportedAssetClass()

Reports the component class this broker knows how to handle Reports the asset class this broker knows how to handle

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss