Language:
Discover
By Skill Level
By Category

IComponentAssetBroker

Choose your OS:

Inheritance Hierarchy

IComponentAssetBroker

FGeometryCacheAssetBroker

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()

Virtual TSubclassOf GetSupportedComponentClass()=0;

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/ComponentAssetBroker.h