ENiagaraSpriteAlignment

This enum decides how a sprite particle will orient its "up" axis.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSpriteRendererProperties.h

Include

#include "NiagaraSpriteRendererProperties.h"

Syntax

enum ENiagaraSpriteAlignment
{
    Unaligned,
    VelocityAligned,
    CustomAlignment,
}

Values

Name

Description

Unaligned

Only Particles.SpriteRotation and FacingMode impact the alignment of the particle.

VelocityAligned

Imagine the particle texture having an arrow pointing up, this mode makes the arrow point in the direction of the Particles.Velocity attribute.

CustomAlignment

Imagine the particle texture having an arrow pointing up, this mode makes the arrow point towards the axis defined by the "Particles.SpriteAlignment" attribute.

Remarks

This enum decides how a sprite particle will orient its "up" axis. Must keep these in sync with NiagaraSpriteVertexFactory.ush

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss