Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/AssetSelection.h |
| Include | #include "AssetSelection.h" |
Syntax
class FActorFactoryAssetProxy
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| AActor * | AddActorForAsset
(
UObject* AssetObj, |
Places an actor instance using the factory appropriate for the type of asset | |
| AActor * | AddActorFromSelection
(
UClass* ActorClass, |
Places an actor instance using the factory appropriate for the type of asset using the current object selection as the asset | |
| bool | ApplyMaterialToActor
(
AActor* TargetActor, |
Attempts to apply the material to the specified actor. | |
| void | GenerateActorFactoryMenuItems
(
const FAssetData& AssetData, |
Builds a list of strings for populating the actor factory context menu items. | |
| UActorFactory * | GetFactoryForAsset
(
const FAssetData& DropData, |
Find the appropriate actor factory for an asset by type. | |
| UActorFactory * | GetFactoryForAssetObject
(
UObject* AssetObj |
Find the appropriate actor factory for an asset. | |
| bool | IsActorValidForMaterialApplication
(
AActor* TargetActor |
Determines if the provided actor is capable of having a material applied to it. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMenuItem | Information about an add actor menu item |