Skip to content

Class

PlacementCameraUtils

Generated GDScript class reference for GridPlacement.PlacementCameraUtils.

Status
Current
Version
v6.0
Source updated
Active v6.0 guide line from Grid Placement repo
Generated on
2026-09-01

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