Table of Contents

Interface ITerrainMeshPool

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public interface ITerrainMeshPool
Extension Methods

Methods

AddMeshData(MeshData, int)

Requires xyz, uv, rgba, indices, flags and xyzFaces to be set

void AddMeshData(MeshData data, int lodLevel = 1)

Parameters

data MeshData
lodLevel int

AddMeshData(MeshData, float[], int)

Add mesh data, but first transformed with tfMatrix

void AddMeshData(MeshData data, float[] tfMatrix, int lodLevel = 1)

Parameters

data MeshData
tfMatrix float[]
lodLevel int

AddMeshData(MeshData, ColorMapData, int)

Requires xyz, uv, rgba, indices, flags and xyzFaces to be set

void AddMeshData(MeshData data, ColorMapData colorMapData, int lodLevel = 1)

Parameters

data MeshData
colorMapData ColorMapData
lodLevel int