# What is TriCoord?

**URL:** <https://forums.unrealengine.com/t/what-is-tricoord/457397>\
**Category:** FX\
**Tags:** parameters, unreal-engine, UE4, question\
**Created:** [October 23, 2019, 2:02pm UTC](https://forums.unrealengine.com/t/what-is-tricoord/457397 "2019-10-23T14:02:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamsun0720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iamsun0720](https://forums.unrealengine.com/u/iamsun0720)\
**Post date:** [October 23, 2019, 2:02pm UTC](https://forums.unrealengine.com/t/what-is-tricoord/457397/1 "2019-10-23T14:02:48Z")

</div>

Hi, I have a question about Niagara.

From some Niagara examples, I saw “Mesh Tricoord” and used it.

However, even after watching Unreal Engine code, I cannot understand what it is.

What I think is, mesh is a triangle and it has three points(vector 3D) in the world space.

What I found is, TriCoord can be broken to “Tri (int32)” and “bary coord(vector, 3d)”.

I understand bary coord means barycentric coordinate. However…

What is Tri??? Why triangle plane in the 3D world can be represented with one integer and one 3d vector?

Also, I saw some code that make particle’s position with its Tri and Bary coord, (1/3, 1/3, 1/3).

Is each value of Bary coord always between 0 and 1?

Why particle’s position can be represented with one integer and (1/3, 1/3, 1/3)?

Please help me!

---

<div class="post-metadata">

**Author:** ![Unreality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unreality/32/585644_2.png) [@Unreality](https://forums.unrealengine.com/u/Unreality)\
**Post date:** [November 22, 2020, 5:16pm UTC](https://forums.unrealengine.com/t/what-is-tricoord/457397/2 "2020-11-22T17:16:19Z")

</div>

you can define a triangle by its surface normal, but each triangle has 3 vertices so the integer is for enumeration 1-\>3 i think…
