Method Refresh
Refresh(RefreshMask)
Recalculates mesh attributes: normals, collisions, UVs, tangents, and colors.
Declaration
public void Refresh(RefreshMask mask = RefreshMask.All)
Parameters
Type | Name | Description |
---|---|---|
RefreshMask | mask | Optional. Specify a RefreshMask to indicate which components to update. Use this when you want to wait until later to rebuild some components in order to save processing power, since UVs and collisions are expensive to rebuild and can usually be deferred until the task finishes. |