struct Godot::ScriptProperty

Overview

Exported script property descriptor for Godot's Inspector

Defined in:

libgodot/script/script.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, type_name : String, variant_type : Number = 0, hint : Number = 0, hint_string : String = "", usage : Number = 6, default_value : String = "") #

[View source]

Instance Method Detail

def default_value : String #

[View source]
def default_value=(default_value : String) #

[View source]
def hint : UInt32 #

[View source]
def hint=(hint : UInt32) #

[View source]
def hint_string : String #

[View source]
def hint_string=(hint_string : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def type_name : String #

[View source]
def type_name=(type_name : String) #

[View source]
def usage : UInt32 #

[View source]
def usage=(usage : UInt32) #

[View source]
def variant_type : Int32 #

[View source]
def variant_type=(variant_type : Int32) #

[View source]