unreal.NiagaraPreviewAxis

class unreal.NiagaraPreviewAxis(outer=None, name='None')

Bases: unreal.Object

Base class for all preview axis types. NiagaraPreviewGrid uses these to control how many systems to spawn in each axis and how each system varies on that axis. C++ Examples are show below. You can also create these as Blueprint classes as show in the Plugin content folder.

C++ Source:

  • Plugin: Niagara

  • Module: Niagara

  • File: NiagaraPreviewGrid.h

apply_to_preview(preview_component, preview_index, is_x_axis)str

Applies this axis for the preview at PreviewIndex on this axis.

Parameters
Returns

out_label_text (str):

Return type

str

num() → int32

Returns the number of previews for this axis.

Returns

Return type

int32