Grid Placement

ManipulatableSettings

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: placement/manipulatable_settings.gd

Version: 5.0

class_name: ManipulatableSettings extends: GBResource

Signals

(none)

Exports

  • move_rules
    • When [code]true[/code], skips base placement rules from [member GBSettings.placement_rules]
    • Use cases:
      • [code]false[/code] (default): Inherit common rules + add movement-specific rules
      • [code]true[/code]: Completely custom move validation (e.g., flying units ignore terrain)
    • Marks whether the placeable preview should be allowed to be rotated left and right
    • Marks whether the placeable preview should be allowed to be flipped horizontally
    • Marks whether the placeable preview should be allowed to be flipped vertically
    • Whether the full object and all children is to be movable
    • Whether the full object and all children is to be demolishable (intentionally destroyed)
    • Returns an array of issues found during editor validation
  • ignore_base_rules
    • base rules from [member GBSettings.placement_rules].
    • When [code]true[/code], skips base placement rules from [member GBSettings.placement_rules]
    • and uses ONLY the rules defined in [member move_rules].
    • Use cases:
      • [code]false[/code] (default): Inherit common rules + add movement-specific rules
      • [code]true[/code]: Completely custom move validation (e.g., flying units ignore terrain)
    • Marks whether the placeable preview should be allowed to be rotated left and right
    • Marks whether the placeable preview should be allowed to be flipped horizontally
    • Marks whether the placeable preview should be allowed to be flipped vertically
    • Whether the full object and all children is to be movable
    • Whether the full object and all children is to be demolishable (intentionally destroyed)
    • Returns an array of issues found during editor validation
  • rotatable
    • Marks whether the placeable preview should be allowed to be flipped horizontally
    • Marks whether the placeable preview should be allowed to be flipped vertically
    • Whether the full object and all children is to be movable
    • Whether the full object and all children is to be demolishable (intentionally destroyed)
    • Returns an array of issues found during editor validation
  • flip_horizontal
    • Marks whether the placeable preview should be allowed to be flipped vertically
    • Whether the full object and all children is to be movable
    • Whether the full object and all children is to be demolishable (intentionally destroyed)
    • Returns an array of issues found during editor validation
  • flip_vertical
    • Whether the full object and all children is to be movable
    • Whether the full object and all children is to be demolishable (intentionally destroyed)
    • Returns an array of issues found during editor validation
  • movable = true
    • Whether the full object and all children is to be demolishable (intentionally destroyed)
    • Returns an array of issues found during editor validation
  • demolishable = true
    • Returns an array of issues found during editor validation

Methods

  • get_editor_issues -> Array
  • get_runtime_issues -> Array