Class Normals
Inheritance
System.Object
Normals
Namespace: UnityEngine.ProBuilder
Syntax
public static class Normals
Methods
CalculateNormals(ProBuilderMesh)
Calculates the normals for a mesh, taking into account smoothing groups.
Declaration
public static void CalculateNormals(ProBuilderMesh mesh)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh |
CalculateTangents(ProBuilderMesh)
Declaration
public static void CalculateTangents(ProBuilderMesh mesh)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh |