API reference Obsidian.API.Client
IDimensionSkyBuffer interface
What an IDimensionEffects draws the sky with in a frame. The sky is centred on the camera and doesn't move with it; vanilla's sun and moon are 100 blocks away. The world and the clouds are drawn over it.
public interface IDimensionSkyBuffer
In Obsidian.API.Client.
Methods
Quad(Vector3, Vector3, Vector3, Vector3, Vector4, string, bool)
void Quad(Vector3 a, Vector3 b, Vector3 c, Vector3 d, Vector4 color, string texture = null, bool additive = false);Draws a quad in the sky, blended over what's there: its texture's top left corner at a, bottom left at b, bottom right at c and top right at d, multiplied by color.
Parameters
a- The first corner, in blocks from the camera, with Y up.
b- The second corner.
c- The third corner.
d- The fourth corner.
color- The colour and opacity, from 0 to 1.
texture- One of
DimensionEffectsProperties.SkyTextures, or null for plain colour. additive- Whether the quad adds light to the sky, like vanilla's sun and stars.