ENiagaraMeshFacingMode

This enum decides how a mesh particle will orient its "facing" axis relative to camera.

Windows
MacOS
Linux

References

Module

Niagara

Header

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

Include

#include "NiagaraMeshRendererProperties.h"

Syntax

enum ENiagaraMeshFacingMode
{
    Default           = 0,
    Velocity,
    CameraPosition,
    CameraPlane,
}

Values

Name

Description

Default

Ignores the camera altogether.

Velocity

The mesh aligns it's local-space X-axis with the particle's Particles.Velocity vector.

CameraPosition

Has the mesh local-space X-axis point towards the camera's position.

CameraPlane

Has the mesh local-space X-axis point towards the closest point on the camera view plane.

Remarks

This enum decides how a mesh particle will orient its "facing" axis relative to camera. Must keep these in sync with NiagaraMeshVertexFactory.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