Function PathTracer.ContainsAndProject

ContainsAndProject (refInt3 a, refInt3 b, refInt3 c, ref Vector3 p, float height, refNativeMovementPlane movementPlane, out Vector3 projected)

Burstified function which checks if a point is inside a triangle-node and if so, projects that point onto the node's surface.

Public Static
bool ContainsAndProject (

refInt3

a

refInt3

b

refInt3

c

ref Vector3

p

float

height

refNativeMovementPlane

movementPlane

out Vector3

projected

)

Burstified function which checks if a point is inside a triangle-node and if so, projects that point onto the node's surface.

Return

If the point is inside the node.