C# Class TextureGenerator, Procedural-Landmass-Generation

Inheritance: MonoBehaviour
显示文件 Open project: SebLague/Procedural-Landmass-Generation Class Usage Examples

Public Methods

Method Description
TextureFromColourMap ( Color colourMap, int width, int height ) : Texture2D
TextureFromHeightMap ( float heightMap ) : Texture2D

Method Details

TextureFromColourMap() public static method

public static TextureFromColourMap ( Color colourMap, int width, int height ) : Texture2D
colourMap Color
width int
height int
return UnityEngine.Texture2D

TextureFromHeightMap() public static method

public static TextureFromHeightMap ( float heightMap ) : Texture2D
heightMap float
return UnityEngine.Texture2D