|
void | SmoothMesh (int iterations=1) |
|
void | SmoothMeshes () |
|
void | AddSphericalDensity (Vector3 pos) |
|
void | UpdateMesh () |
|
void | ToggleSurfaceLevelandUpdateCubes (float i, ChunkScript[,,] chunks, Color color) |
|
void | CreateSphereDensity () |
|
void | AddDensity (int x, int y, int z, float d) |
|
void | SetDensity (int x, int y, int z, float d, bool addSphere=false) |
|
void | OnDrawGizmos () |
|
|
Transform | sphereHolder |
|
BoxCollider | boxCollider |
|
ChunkScript | chunkPrefab |
|
GameObject | visualiseChunkPrefab |
|
ChunkScript[,,] | chunks |
|
float[,,] | density = new float[n, n, n] |
|
GameObject[,,] | densitySpheres = new GameObject[n, n, n] |
|
bool | visualiseChunks |
|
List< float3 > | positions |
|
bool | smoothened |
|
float | brushSize |
|
|
static int | chunkResolution = 32 |
|
static int | size = 1 |
|
static int | n = (chunkResolution - 1) * size + 1 |
|
static bool | addVertexSpheres = false |
|
static bool | addDensitySpheres = false |
|
static float | surfaceLevel = 1f |
|
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/MarchingCubes/ChunkManager.cs