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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback