public interface IEnvironmentManagerProvides safe current-planet environment information and actions.
Members
GetSnapshotCreates a fresh day/night and local-water snapshot.methodIsUnderwaterChecks whether a same-planet position lies inside an active water volume. Returns false when water is unavailable or has not begun rising. Coordinates must be finite.methodResetToDayAsyncResets the synchronized day/night cycle to full daylight.methodGetSnapshot
methodEnvironmentSnapshot GetSnapshot()Creates a fresh day/night and local-water snapshot.
IsUnderwater
methodbool IsUnderwater(WorldPosition position)Checks whether a same-planet position lies inside an active water volume. Returns false when water is unavailable or has not begun rising. Coordinates must be finite.
ResetToDayAsync
methodTask<EnvironmentActionResult> ResetToDayAsync()Resets the synchronized day/night cycle to full daylight.
This is always host-only and runs on the game thread. It changes only the live day/night cycle; it does not edit terraformation progress.