CursorInputSettings
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.
Declaration
Summary
Resource that defines input action names for cursor movement. Can be configured per-scene or project-wide.
Metadata
Namespace: GridPlacement.Godot.Cursor
Source File: cs/Godot/addons/GridPlacement/Services/Cursor/CursorInputSettings.cs
Assembly: GridPlacement.Godot
Type: class
Inherits
Resource
Constructors
CursorInputSettings
Creates a default cursor input settings.
CursorInputSettings
Creates cursor input settings with custom action names.
Properties
UpAction
Input action for moving the cursor up.
DownAction
Input action for moving the cursor down.
LeftAction
Input action for moving the cursor left.
RightAction
Input action for moving the cursor right.
ConfirmAction
Input action for confirming/clicking at cursor position.
CancelAction
Input action for canceling/back at cursor position.
EnableMouseInput
Whether to enable mouse/touch input for cursor movement.
EnableDirectionalInput
Whether to enable keyboard/gamepad directional input.
GridCellSize
The grid cell size for snapping cursor to grid.
RepeatDelay
Delay in seconds between repeated cursor movements when holding a direction.
InitialRepeatDelay
Initial delay before repeating starts when holding a direction.
Default
Gets the default settings using Godot’s built-in UI actions.
CursorDirActions
Gets settings using custom cursor_dir actions.