Function TriangleMeshNode.ContainsPointInGraphSpace

ContainsPointInGraphSpace (Int3 p)

Checks if point is inside the node in graph space.

Public
bool ContainsPointInGraphSpace (

Int3

p

)

Checks if point is inside the node in graph space.

In graph space the up direction is always the Y axis so in principle we project the triangle down on the XZ plane and check if the point is inside the 2D triangle there.