Navigation
API > API/Plugins > API/Plugins/PCG
Interface for helper object that creates and adds primitives to the scene.
| Name | IPCGRuntimePrimitiveFactory |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h |
| Include Path | #include "Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h" |
Syntax
class IPCGRuntimePrimitiveFactory
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPCGRuntimePrimitiveFactory() |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetNumInstancesTotal
(
int32 InPrimitiveIndex |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h | ||
int32 GetNumPrimitives() |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h | ||
FPrimitiveSceneProxy * GetSceneProxy
(
int32 InPrimitiveIndex |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h | ||
bool IsRenderStateCreated() |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNumInstances
(
int32 InPrimitiveIndex |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h | ||
virtual int32 GetNumInstances
(
int32 InPrimitiveIndex, |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h | ||
virtual bool IsAnyRenderStateDirty() |
True if any owned primitive is awaiting render state recreate; callers must defer GPU-slot writes until this returns false. | Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h | |
virtual bool IsPrimitiveValid
(
int32 InPrimitiveIndex |
Compute/PrimitiveFactories/IPCGRuntimePrimitiveFactory.h |