unreal.PCGSMSpawnerAnalysisKernel

class unreal.PCGSMSpawnerAnalysisKernel(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGAttributeAnalysisKernelBase

Dedicated analysis kernel for the Static Mesh Spawner: counts unique attribute values like the generic analysis kernel, plus produces a per-(primitive, culling cell) min/max position buffer used by the spawner’s culling pipeline.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGSMSpawnerAnalysisKernel.h

Editor Properties: (see get_editor_property/set_editor_property)

  • kernel_flags (int32): [Read-Only] Specifying certain memory access flags allows for optimizations such as kernel fusing.

  • kernel_source (ComputeKernelSource): [Read-Write] The compute kernel source asset. A kernel’s source may be authored by different mechanisms; e.g. HLSL text, VPL graph, ML Meta Lang, etc