ExportHint

gdext.internal.register.ExportHint
See theExportHint companion object
final case class ExportHint(hint: Int, hintString: String = ..., usageExtra: Int = ...)

An inspector hint override for an exported property — the analogue of GDScript's @export_range, @export_file, @export_multiline, … . Passed as the argument to gdexport (@gdexport(ExportHint.range(0, 100)) var hp: Int).

It overrides the hint / hint_string an ExportType would otherwise emit and ORs usageExtra into the property usage. The value is plain runtime data; the Register macro just forwards it into PropertyRegistration.registerExport.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product