annotation ExportRange

Overview

Exports a numeric property constrained to a specific range in the Godot inspector. Supports min, max, and optional step size.

@[ExportRange(0.0, 100.0, 0.5)]
property health : Float64 = 100.0

Defined in:

libgodot/macros.cr