RaycastHit.barycentricCoordinatevar barycentricCoordinate : Vector3DescriptionThe barycentric coordinate of the triangle we hit. This lets you interpolate any of the vertex data along the 3 axes. // Attach this script to a camera and it will |
|
||||
| Scripting > Runtime Classes > RaycastHit | ||||
RaycastHit.barycentricCoordinatevar barycentricCoordinate : Vector3DescriptionThe barycentric coordinate of the triangle we hit. This lets you interpolate any of the vertex data along the 3 axes. // Attach this script to a camera and it will |