public sealed class EnvironmentSnapshotContains current-planet day/night and local water information.
Members
IsAvailableGets whether a loaded planet and environment are available.propertyPlanetIdGets the current planet ID, or null.propertyDayNightValueGets Planet Crafter's synchronized day/night blend from zero for day through 100 for night.propertyDayNightPhaseGets a coarse interpretation of DayNightValue.propertyHasLocalPlayerGets whether a local player was available for water detection.propertyIsLocalPlayerUnderwaterGets whether the local player's current position is underwater.propertyIsAvailable
propertypublic bool IsAvailableGets whether a loaded planet and environment are available.
PlanetId
propertypublic string? PlanetIdGets the current planet ID, or null.
DayNightValue
propertypublic float DayNightValueGets Planet Crafter's synchronized day/night blend from zero for day through 100 for night.
DayNightPhase
propertypublic DayNightPhase DayNightPhaseGets a coarse interpretation of DayNightValue.
HasLocalPlayer
propertypublic bool HasLocalPlayerGets whether a local player was available for water detection.
IsLocalPlayerUnderwater
propertypublic bool IsLocalPlayerUnderwaterGets whether the local player's current position is underwater.