unreal.NiagaraMeshFacingMode

class unreal.NiagaraMeshFacingMode

Bases: unreal.EnumBase

This enum decides how a mesh particle will orient its “facing” axis relative to camera. Must keep these in sync with NiagaraMeshVertexFactory.ush

C++ Source:

  • Plugin: Niagara

  • Module: Niagara

  • File: NiagaraMeshRendererProperties.h

CAMERA_PLANE

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

Type

3

CAMERA_POSITION

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

Type

2

DEFAULT

Ignores the camera altogether. The mesh aligns its local-space X-axis with the particles’ local-space X-axis, after transforming by the Particles.Transform vector (if it exists).

Type

0

VELOCITY

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

Type

1