Chunks
Moddable voxel sandbox for room-scale VR.
Public Member Functions | Properties | List of all members
Chunks.Geometry.ChunkColumn Class Reference

Helper class used when generating a new column of chunks. More...

Inheritance diagram for Chunks.Geometry.ChunkColumn:

Public Member Functions

void Set (IntVector pos, [NotNull] Block value, bool replace=true)
 Sets a single block to the given value. More...
 
void Set (IntVector min, IntVector max, [NotNull] Block value, bool replace=true)
 Sets a axis aligned box of blocks to the given value. More...
 

Properties

IntVector Min [get]
 Chunk column minimum bounds position in world block space. More...
 
IntVector Max [get]
 Chunk column maximum bounds position in world block space. More...
 

Detailed Description

Helper class used when generating a new column of chunks.

Member Function Documentation

void Chunks.Geometry.ChunkColumn.Set ( IntVector  pos,
[NotNull] Block  value,
bool  replace = true 
)

Sets a single block to the given value.

Parameters
posPosition in world block space to set
valueBlock value to set to
void Chunks.Geometry.ChunkColumn.Set ( IntVector  min,
IntVector  max,
[NotNull] Block  value,
bool  replace = true 
)

Sets a axis aligned box of blocks to the given value.

Parameters
minMinmum box bounds in world block space
maxMaximum box bounds in world block space
valueBlock value to set to

Property Documentation

IntVector Chunks.Geometry.ChunkColumn.Max
get

Chunk column maximum bounds position in world block space.

IntVector Chunks.Geometry.ChunkColumn.Min
get

Chunk column minimum bounds position in world block space.


The documentation for this class was generated from the following file: