unreal.ToolsetNiagaraTypeDefinition

class unreal.ToolsetNiagaraTypeDefinition

Bases: StructBase

Wrapper struct for FNiagaraTypeDefinition that exposes only the UStruct pointer for JSON conversion.

FNiagaraTypeDefinition is a complex struct with internal state. This wrapper simplifies JSON conversion by only exposing the Struct field, which is sufficient for reconstruction.

C++ Source:

  • Plugin: NiagaraToolsets

  • Module: NiagaraToolsets

  • File: NiagaraToolsetJsonConverters.h

Editor Properties: (see get_editor_property/set_editor_property)

  • class_struct_or_enum (Object): [Read-Write] Reference to the UScriptStruct, UEnum, or UClass that defines this Niagara type.