Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraSpriteRendererProperties.h |
Include |
#include "NiagaraSpriteRendererProperties.h" |
enum ENiagaraSpriteAlignment
{
Unaligned,
VelocityAligned,
CustomAlignment,
}
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. |
This enum decides how a sprite particle will orient its "up" axis. Must keep these in sync with NiagaraSpriteVertexFactory.ush