Skip to content
ct

Class

PlacementPreviewTransform

Generated GDScript class reference for GridPlacement.PlacementPreviewTransform.

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.

Stateless collaborator for placement-preview rotation/flip. Extracted from [GridPlacementHost] so the host stays an input-routing facade ("services do logic, sessions own state, host routes input"). Every method is [code]static[/code] and takes its dependencies explicitly (the active [PlacementSession], the [ManipulationSettings], and the 3D flag) so this collaborator owns NO host-owned dictionaries and mutates nothing on the host — it only drives the session's [ManipulationParent], which already hosts the preview. Future placement-preview transform changes belong here, not on the host.

Source: addons/grid_placement/systems/host/placement_preview_transform.gd

Syntax

class PlacementPreviewTransform extends RefCounted

Members

NameKindSummary
appliesMethod
apply_rotationMethod
apply_flipMethod