TerrainLayerUtility.ValidateDiffuseTextureUI

Declaration

public static void ValidateDiffuseTextureUI(Texture2D texture);

Parameters

texture The texture to validate.

Description

Checks whether the texture is a valid TerrainLayer diffuse texture. If it detects that the texture is not valid, it displays a warning message that identifies the issue.

A valid diffuse texture must have Repeat wrap mode and mipmaps enabled.


Did you find this page useful? Please give it a rating: