Navigation
API > API/Plugins > API/Plugins/PCGInstancedActorsInterop
Node that allows to spawn instanced actors. Important notes:
- In some cases, the actor class must be properly registered in the project settings prior to spawning. See the Instanced Actor plugin documentation for more details.
- It is not currently possible to create or remove instanced actors at runtime and will log errors/warnings accordingly.
- The Instanced Actor plugin does not support the preview/load as preview workflow, and using this node in such a way will log errors/warnings.
| Name | UPCGSpawnInstancedActorsSettings |
| Type | class |
| Header File | /Engine/Plugins/Experimental/PCGInterops/PCGInstancedActorsInterop/Source/PCGInstancedActorsInterop/Public/Elements/PCGSpawnInstancedActors.h |
| Include Path | #include "Elements/PCGSpawnInstancedActors.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSpawnInstancedActorsSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGSpawnInstancedActorsSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorClass | TSubclassOf< AActor > | Actor class to spawn when not using the 'Spawn by Attribute' mode. | Elements/PCGSpawnInstancedActors.h |
|
| bMuteOnEmptyClass | bool | Mutes warnings on empty class, which can be useful when some points might not have a valid class. | Elements/PCGSpawnInstancedActors.h |
|
| bSpawnByAttribute | bool | Controls whether the actor class to use will be driven by an attribute on the input data. | Elements/PCGSpawnInstancedActors.h |
|
| SpawnAttributeSelector | FPCGAttributePropertyInputSelector | Attribute specifier for the attribute class to spawn. | Elements/PCGSpawnInstancedActors.h |
|