Skip to content

API reference Obsidian.API.Client

DimensionAtmosphere record struct

A frame's sky, fog and clouds in a dimension, which IDimensionEffects.Adjust may change. Colours are red, green and blue (and alpha) from 0 to 1; distances are in blocks from the camera.

public readonly record struct DimensionAtmosphere : IEquatable<DimensionAtmosphere>

In Obsidian.API.Client.

Properties

Camera

public VectorD Camera { get; init; }

Where the camera is in the world; changing it has no effect.

CloudColor

public Vector4 CloudColor { get; init; }

The clouds' colour, multiplied with their texture's; an alpha of 0 hides them.

CloudHeight

public float CloudHeight { get; init; }

The height of the clouds' bottom.

FogColor

public Vector3 FogColor { get; init; }

The colour the world fades into with distance, which is also the colour behind the sky.

FogEnd

public float FogEnd { get; init; }

How far from the camera the fog hides the world.

FogStart

public float FogStart { get; init; }

How far from the camera the fog starts.

SkyColor

public Vector3 SkyColor { get; init; }

The colour of the sky above (vanilla's sky disc, in an overworld skybox).

TimeOfDay

public double TimeOfDay { get; init; }

The time of day the frame is drawn at, in ticks, with the part of a tick since the last one; changing it has no effect.

On this page