Class BiomeHabitatQuery
The habitat of the ground at a point (Phase 4 of the core and modules plan, 2026-11-18): what the spawners ask before they place a creature. The World Simulation module installs Source from the scene's biome map; with none installed, or no map in the scene, every point answers None and HasMap is false, so a spawner places its creatures anywhere, as it does in a scene with no biome map.
public static class BiomeHabitatQuery
- Inheritance
-
BiomeHabitatQuery
- Inherited Members
Fields
Source
public static BiomeHabitatQuery.HabitatSource Source
Field Value
Methods
TryGet(Scene, Vector3, out bool, out BiomeHabitat)
The habitat at position: false when the point is off the scene's map (or there is none);
hasMap says whether the scene has a map at all.
public static bool TryGet(Scene scene, Vector3 position, out bool hasMap, out BiomeHabitat habitat)
Parameters
sceneScenepositionVector3hasMapboolhabitatBiomeHabitat