Navigation
API > API/Plugins > API/Plugins/Niagara
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.
| Name | UNiagaraPreviewAxis |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraPreviewGrid.h |
| Include Path | #include "NiagaraPreviewGrid.h" |
Syntax
UCLASS (Abstract, EditInlineNew, BlueprintType, Blueprintable)
class UNiagaraPreviewAxis : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraPreviewAxis
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyToPreview
(
UNiagaraComponent* PreviewComponent, |
Applies this axis for the preview at PreviewIndex on this axis. | NiagaraPreviewGrid.h |
|
int32 Num() |
Returns the number of previews for this axis. | NiagaraPreviewGrid.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
NiagaraPreviewGrid.h |