Chris' Tutorials
Docs/Grid Placement

Class

PlacementCamera2DValidator

Generated GDScript class reference for GridPlacement.PlacementCamera2DValidator.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Source: addons/grid_placement/utils/placement_camera2d_validator.gd

Syntax

class PlacementCamera2DValidator extends RefCounted

Members

NameKindSummary
successPropertyCamera2D Setup Validator for Grid Building Plugin This validation tool helps developers verify that their Camera2D setup meets the requirements for the Grid Building plugin's coordinate conversion system. [b]Usage:[/b] [codeblock] # In your scene setup or debugging code: var is_valid = PlacementCamera2DValidator.validate_scene_setup(get_tree().current_scene) if not is_valid: print("❌ Camera2D setup issues found - check console for details") [/codeblock] [b]Purpose:[/b] The Grid Building plugin requires Camera2D for pixel-perfect coordinate conversion. This validator ensures your scene setup meets these requirements. Result of coordinate conversion validation
accuracyProperty
world_posProperty
expectedProperty
errorProperty
to_stringMethod
validate_scene_setupMethod
issuesProperty
warningsProperty
viewportProperty
cameraProperty
successesProperty
zoomProperty
zoom_x_log2Property
zoom_y_log2Property
test_resultProperty
all_camerasProperty
enabled_camerasProperty
viewport_sizeProperty
test_screen_posProperty
world_posProperty
canvas_transformProperty
expected_world_posProperty
accuracyProperty
successProperty
error_msgProperty
camerasProperty
validate_current_sceneMethod
edited_sceneProperty
validate_runtime_setupMethod

Source

addons/grid_placement/utils/placement_camera2d_validator.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs