positionSampleFunction

A lambda function that computes the 3D position within an indexed polygon given vertex data and barycentric coordinates.

This function utilizes the position method of an IIndexedPolygon instance to calculate a specific point in the 3D space based on the barycentric weights and vertex positions.