C# Class EndlessTerrain.TerrainChunk, Procedural-Landmass-Generation

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

Public Methods

Method Description
IsVisible ( ) : bool
SetVisible ( bool visible ) : void
TerrainChunk ( Vector2 coord, int size, LODInfo detailLevels, Transform parent, Material material ) : UnityEngine
TerrainChunk ( Vector2 coord, int size, Transform parent ) : UnityEngine
TerrainChunk ( Vector2 coord, int size, Transform parent, Material material ) : UnityEngine
UpdateTerrainChunk ( ) : void

Private Methods

Method Description
OnMapDataReceived ( MapData, mapData ) : void
OnMeshDataReceived ( MeshData, meshData ) : void

Method Details

IsVisible() public method

public IsVisible ( ) : bool
return bool

SetVisible() public method

public SetVisible ( bool visible ) : void
visible bool
return void

TerrainChunk() public method

public TerrainChunk ( Vector2 coord, int size, LODInfo detailLevels, Transform parent, Material material ) : UnityEngine
coord Vector2
size int
detailLevels LODInfo
parent Transform
material Material
return UnityEngine

TerrainChunk() public method

public TerrainChunk ( Vector2 coord, int size, Transform parent ) : UnityEngine
coord Vector2
size int
parent Transform
return UnityEngine

TerrainChunk() public method

public TerrainChunk ( Vector2 coord, int size, Transform parent, Material material ) : UnityEngine
coord Vector2
size int
parent Transform
material Material
return UnityEngine

UpdateTerrainChunk() public method

public UpdateTerrainChunk ( ) : void
return void