Navigation
API > API/Plugins > API/Plugins/Niagara
This enum decides how a mesh particle will orient its "facing" axis relative to camera. Must keep these in sync with NiagaraMeshVertexFactory.ush
| Name | ENiagaraMeshFacingMode |
| Type | enum |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraMeshRendererProperties.h |
| Include Path | #include "NiagaraMeshRendererProperties.h" |
Syntax
enum ENiagaraMeshFacingMode
{
Default = 0,
Velocity,
CameraPosition,
CameraPlane,
}
Values
| Name | Remarks |
|---|---|
| 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. |