Navigation
API > API/Plugins > API/Plugins/Niagara
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSpriteRendererProperties.h |
| Include | #include "NiagaraSpriteRendererProperties.h" |
Syntax
enum ENiagaraSpriteAlignment
&123;
Unaligned,
VelocityAligned,
CustomAlignment,
Automatic,
&125;
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. |
| Automatic | Automatically select between Unaligned & CustomAlignment depending on if SpriteAlignment Binding is valid. |
Remarks
This enum decides how a sprite particle will orient its "up" axis. Must keep these in sync with NiagaraSpriteVertexFactory.ush