class_name TerrainQuery extends RefCounted ## Replaceable scene-free boundary for gameplay terrain height sampling. ## Implementations receive a typed Godot world position and must return an ## explicit available/unavailable result without mutating the caller. ## Samples terrain ground height at a typed Godot world position. ## The base implementation reports `terrain_query_not_implemented`. func sample_ground_height(_godot_world_position: GodotWorldPosition) -> TerrainGroundSample: return TerrainGroundSample.unavailable(&"terrain_query_not_implemented")