Skip to content

Class

PreviewFactory

Generated GDScript class reference for GridPlacement.PreviewFactory.

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.

Source: addons/grid_placement/systems/building/components/preview_factory.gd

Syntax

class PreviewFactory extends RefCounted

Members

NameKindSummary
WARNING_INVALID_PLACEABLEField
GHOST_MODULATE_ALPHAFieldGhost transparency for 2D object previews. The preview renders ABOVE the validity overlays (preview_instance_z_index over indicator_z_index), so an opaque ghost hides the per-cell valid/fail colors beneath the art. Matches the 2D terrain ghost alpha (TerrainPreview.preview_self_modulate).
resolve_placement_dependenciesMethod
get_runtime_issuesMethod
instance_previewMethod
root_scriptProperty
validation_issuesProperty
new_instanceProperty
desired_nameProperty
preview_hostProperty
existing_childProperty
ghost_modulateProperty
child_namesProperty
collision_nodesProperty