Skip to content
ct

Class

PlacementCameraUtils

Generated GDScript class reference for GridPlacement.PlacementCameraUtils.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

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

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