Table of Contents

Interface IChunkLight

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public interface IChunkLight

Methods

ClearAllSunlight()

void ClearAllSunlight()

ClearLight()

void ClearLight()

ClearWithSunlight(ushort)

void ClearWithSunlight(ushort sunLight)

Parameters

sunLight ushort

FloodWithSunlight(ushort)

void FloodWithSunlight(ushort sunLight)

Parameters

sunLight ushort

GetBlocklight(int)

int GetBlocklight(int index3d)

Parameters

index3d int

Returns

int

GetSunlight(int)

int GetSunlight(int index3d)

Parameters

index3d int

Returns

int

SetBlocklight(int, int)

void SetBlocklight(int index3d, int lightlevel)

Parameters

index3d int
lightlevel int

SetBlocklight_Buffered(int, int)

void SetBlocklight_Buffered(int index3d, int lightlevel)

Parameters

index3d int
lightlevel int

SetSunlight(int, int)

void SetSunlight(int index3d, int sunlevel)

Parameters

index3d int
sunlevel int

SetSunlight_Buffered(int, int)

void SetSunlight_Buffered(int index3d, int sunlevel)

Parameters

index3d int
sunlevel int