Class VoxelGenerator
- Namespace
- VoxelPlayground.Engine
- Assembly
- VoxEngineCore.dll
public static class VoxelGenerator
- Inheritance
-
objectVoxelGenerator
Methods
GenerateHeightmapTileVoxelData(int, int, int, int, int, int, float, Texture2D, Texture2D, out int, out float, out float, out int, IdName)
public static NativeArray<PointDataV2> GenerateHeightmapTileVoxelData(int startX, int startZ, int tileWidth, int tileHeight, int fullWidth, int fullHeight, float heightScale, Texture2D heightmap, Texture2D colormap, out int solidCount, out float minHeight, out float maxHeight, out int voxelHeight, PointDataV2.Id.IdName idName = IdName.Stone)
Parameters
startXintstartZinttileWidthinttileHeightintfullWidthintfullHeightintheightScalefloatheightmapTexture2DcolormapTexture2DsolidCountintminHeightfloatmaxHeightfloatvoxelHeightintidNamePointDataV2.Id.IdName