BuildActionData

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Source File: addons/grid_building/systems/building/build_action_data.gd

Extends: RefCounted

Properties

  • Property: placeable: [Placeable](./placeable/)

    Values for an attempted build action The resource defining the rules and scene to instance for a placeable object

  • Property: report : [PlacementReport](./placement-report/) - The placement report from the attempted action

  • Property: build_type: [GBEnums](./gb-enums/).BuildType = GBEnums.BuildType.SINGLE - Type of build operation (SINGLE, DRAG, or AREA)

Public Methods

get_preview

1
get_preview() -> Node

Returns the preview instance from the build action if it exists


get_placed_position

1
get_placed_position() -> Vector2