Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGStaticMeshSpawnerElement |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGStaticMeshSpawner.h |
| Include Path | #include "Elements/PCGStaticMeshSpawner.h" |
Syntax
class FPCGStaticMeshSpawnerElement : public IPCGElement
Implements Interfaces
Functions
Public
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanExecuteOnlyOnMainThread
(
FPCGContext* Context |
Returns true if the element, in its current phase can be executed only from the main thread | Elements/PCGStaticMeshSpawner.h | |
virtual bool IsCacheable
(
const UPCGSettings* InSettings |
Returns true if the node can be cached (e.g. does not create artifacts & does not depend on untracked data | Elements/PCGStaticMeshSpawner.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SpawnStaticMeshInstances
(
FPCGStaticMeshSpawnerContext* Context, |
Elements/PCGStaticMeshSpawner.h |
Overridden from IPCGElement
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AbortInternal
(
FPCGContext* Context |
This function will be called once and only once if the element is aborted. | Elements/PCGStaticMeshSpawner.h | |
virtual FPCGContext * CreateContext() |
Let each element optionally act as a concrete factory for its own context | Elements/PCGStaticMeshSpawner.h | |
virtual bool ExecuteInternal
(
FPCGContext* Context |
Core execution method for the given element. Will be called until it returns true. | Elements/PCGStaticMeshSpawner.h | |
virtual bool PrepareDataInternal
(
FPCGContext* Context |
Elements/PCGStaticMeshSpawner.h | ||
virtual bool SupportsBasePointDataInputs
(
FPCGContext* InContext |
Returns true if node supports any point data format. | Elements/PCGStaticMeshSpawner.h |