Method NormalTangentBitangent
NormalTangentBitangent(ProBuilderMesh, Face)
Returns the first normal, tangent, and bitangent for this face using the first triangle available for tangent and bitangent.
Declaration
public static Normal NormalTangentBitangent(ProBuilderMesh mesh, Face face)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The mesh that the target face belongs to. |
Face | face | The face to calculate normal information for. |
Returns
Type | Description |
---|---|
Normal | The normal, bitangent, and tangent for the face. |