Class GBMouseInputStatus
- 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 GBMouseInputStatus extends RefCounted
GBMouseInputStatus
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_allowedp_worldp_methodp_method_namep_screen
Returns
to_dict
func to_dict() -> Dictionary: