Table of Contents

Class CachedCuboidList

Namespace
Vintagestory.API.Datastructures
Assembly
VintagestoryAPI.dll
public class CachedCuboidList : IEnumerable<Cuboidd>, IEnumerable
Inheritance
CachedCuboidList
Implements
Inherited Members
Extension Methods

Constructors

CachedCuboidList()

public CachedCuboidList()

Fields

Count

public int Count

Field Value

int

blocks

public Block[] blocks

Field Value

Block[]

cuboids

public Cuboidd[] cuboids

Field Value

Cuboidd[]

positions

public BlockPos[] positions

Field Value

BlockPos[]

Methods

Add(Cuboidf, int, int, int, Block)

public void Add(Cuboidf cuboid, int x, int y, int z, Block block = null)

Parameters

cuboid Cuboidf
x int
y int
z int
block Block

Add(Cuboidf[], int, int, int, Block)

public void Add(Cuboidf[] cuboids, int x, int y, int z, Block block = null)

Parameters

cuboids Cuboidf[]
x int
y int
z int
block Block

Clear()

public void Clear()

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<Cuboidd> GetEnumerator()

Returns

IEnumerator<Cuboidd>

An enumerator that can be used to iterate through the collection.