Chris' Tutorials
Docs/Grid Placement

Class

PlacementCameraUtils

Generated GDScript class reference for GridPlacement.PlacementCameraUtils.

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.

Camera and viewport projection utilities for world coordinate calculations. Pure, static helpers used across systems (e.g., GridPositioner) and tests. These functions are deterministic and do not touch the scene tree beyond reading data from provided Camera2D/Viewport instances.

Source: addons/grid_placement/utils/placement_camera_utils.gd

Syntax

class PlacementCameraUtils extends RefCounted

Members

NameKindSummary
ProjectionMethodFieldProjection methods for screen to world conversion
proj_method_to_stringMethod
get_center_of_camera_viewportMethod
vp_rectProperty

Source

addons/grid_placement/utils/placement_camera_utils.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs