ENiagaraSpriteFacingMode

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

Windows
MacOS
Linux

References

Module

Niagara

Header

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

Include

#include "NiagaraSpriteRendererProperties.h"

Syntax

enum ENiagaraSpriteFacingMode
{
    FaceCamera,
    FaceCameraPlane,
    CustomFacingVector,
    FaceCameraPosition,
    FaceCameraDistanceBlend,
}

Values

Name

Description

FaceCamera

The sprite billboard origin is always "looking at" the camera origin, trying to keep its up axis aligned to the camera's up axis.

FaceCameraPlane

The sprite billboard plane is completely parallel to the camera plane. Particle always looks "flat"

CustomFacingVector

The sprite billboard faces toward the "Particles.SpriteFacing" vector attribute.

FaceCameraPosition

Faces the camera position, but is not dependent on the camera rotation.

FaceCameraDistanceBlend

Blends between FaceCamera and FaceCameraPosition.

Remarks

This enum decides how a sprite particle will orient its "facing" 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