BD1NormalGenerator, BD1UniformGeneratorpublic abstract class BD1Generator extends Object
| コンストラクタ | 説明 |
|---|---|
BD1Generator() |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
abstract void |
GenerateCubes(int block_num,
float edge_length,
float scale) |
Generates cubes.
|
protected BD1Creator |
GetBD1Creator() |
|
void |
RandomizeTextureIDsPerBlock(int bound) |
Randomly sets texture IDs per block.
|
void |
RandomizeTextureIDsPerFace(int bound) |
Randomly sets texture IDs per face.
|
int |
SetTextureFilename(int texture_id,
String texture_filename) |
|
int |
WriteAsBD1(String bd1_filename,
float offset_y) |
Writes out blocks into a BD1 file.
|
protected BD1Creator GetBD1Creator()
public int SetTextureFilename(int texture_id,
String texture_filename)
public abstract void GenerateCubes(int block_num,
float edge_length,
float scale)
block_num - Number of blocksedge_length - Length of edgesscale - Scalepublic void RandomizeTextureIDsPerFace(int bound)
bound - The upper bound of the texture IDspublic void RandomizeTextureIDsPerBlock(int bound)
bound - The upper bound of the texture IDspublic int WriteAsBD1(String bd1_filename, float offset_y)
bd1_filename - Filenameoffset_y - Y-direction offsetCopyright © 2019. All rights reserved.