Table of Contents

Class PlacementMouseInputStatus

Namespace
GridPlacement.GDScript
Assembly
MoonBark.GridPlacement.GDScript.dll

Holds the last mouse input gate/projection snapshot for grid-based input systems Provides typed properties and a convenience serializer to Dictionary

class PlacementMouseInputStatus extends RefCounted
PlacementMouseInputStatus

Properties

allowed

var allowed: bool = false

world

var world: Vector2 = Vector2.ZERO

method

var method: int = 0

method_name

var method_name: String = ""

screen

var screen: Vector2 = Vector2.ZERO

Methods

set_from_values

func set_from_values(p_allowed: bool, p_world: Vector2, p_method: int, p_method_name: String, p_screen: Vector2) -> void:

Parameters

p_allowed
p_world
p_method
p_method_name
p_screen

Returns

to_dict

func to_dict() -> Dictionary:

Returns