PreviewCalculationResult

PreviewCalculationResult

Result of preview calculation containing footprint and visual data. This is a pure Core DTO that can be used without Godot dependencies.

Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/Data/Placement/PreviewCalculationResult.cs
Namespace: GridBuilding.Core.Data.Placement
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Properties

FootprintData

The footprint data used for this calculation.

FootprintPositions

Calculated footprint positions for the preview.

Bounds

Bounding rectangle of the preview in grid coordinates.

IsValidPlacement

Whether the preview placement is valid at the calculated position.

Transparency

Recommended transparency for the preview (0.0 to 1.0).

TintColor

Recommended color tint for the preview.

ShapeData

Shape configuration for the preview.

Issues

Issues encountered during calculation.

Notes

Additional diagnostic information.

Methods

HasIssues

Gets whether the calculation has any issues.

Returns: bool

AddIssue

Adds an issue to the result.

Returns: void

Parameters:

  • string issue

AddNote

Adds a note to the result.

Returns: void

Parameters:

  • string note