class
CrShader::VariableArrayControl
- CrShader::VariableArrayControl
- Godot::PanelContainer
- Godot::Container
- Godot::Control
- Godot::CanvasItem
- Godot::Node
- Godot::Object
- Reference
- Object
Overview
============================================================================= VariableArrayControl - Custom Inspector Control for Variable-Size Shader Arrays
Provides an interactive in-inspector widget for editing uniform arrays (especially Color arrays/palettes) with ColorPickerButton swatches, dynamic resize [+]/[-], preset selection across 30+ default palettes, and live material sync.
Defined in:
crshader/editor/variable_array_control.crConstant Summary
-
PRESET_NAMES =
["1-up", "archivist", "blekohpop31", "blocky-realm", "chis-a", "cloud-9", "comike-computer", "cottonville", "dairy-treat", "delphinium-17", "dirty-laundry", "extra-24", "fogfire", "fowl20", "gd-15", "hyperplink2", "no-failed", "ochre-ruin", "pastel-16-cnh", "pen-x-pen-plus", "pixel-8", "reddy-for-marshmallows", "rgr-blueprint4", "screen-burn-monitor", "silkpukian-24", "soggy-sepia-crt-20", "someday-ill-get-it", "summer", "tachycardia", "tiny-c64", "vanitas", "vignette", "vinculum"] -
Preset catalog of all 33 bundled palettes
Constructors
Class Method Summary
- ._godot_has_virtual_method(method_name : String) : Bool
- ._godot_register_node_class : Void
- .godot_class_name : String
- .godot_parent_class_name : String
Macro Summary
-
autoload(*args, **kwargs)
DSL directives for in-body autoload configuration
- autoload_node(*args, **kwargs)
- build(**kwargs, &block)
- create(**kwargs, &block)
Instance Method Summary
-
#_godot_call_tool_button(button_name : String) : Void
Dispatches inspector tool button clicks on this object.
-
#_godot_call_virtual(method_name : String, delta : Float64) : Void
Virtual method and property dispatch hooks overridden by class registration macros.
-
#_godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void
Dispatches generic virtual methods with raw arguments and return buffer.
- #_godot_dispatch_crystal_0(method : String) : Bool
- #_godot_dispatch_crystal_1(method : String, a0 : Godot::Variant) : Bool
-
#_godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void
Invoked by the GDExtension bridge when retrieving an exposed
@exportproperty. -
#_godot_has_crystal_method?(method : String) : Bool
Internal hooks overridden by Lapis
node/gdclass/resourceclasses to expose Crystal-defined methods. -
#_godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void
Invoked by the GDExtension bridge when setting an exposed
@exportproperty. - #active_material : Godot::ShaderMaterial | Nil
- #active_material=(active_material : Godot::ShaderMaterial | Nil)
- #add_color : Void
-
#apply_dictionary_properties!(dict : Godot::Dictionary) : Void
Populates
@[Export]properties on this object from aGodot::Dictionary. - #colors : Array(Godot::Color)
- #colors=(colors : Array(Godot::Color))
- #configure(param_name : String, material : Godot::ShaderMaterial | Nil, initial_colors : Array(Godot::Color) | Nil = nil) : Void
-
#export_config_hash : UInt64
Computes a deterministic 64-bit hash of all
@[Export]properties on this object. - #load_preset(preset_name : String) : Void
- #param_name : String
- #param_name=(param_name : String)
- #pop_color : Void
- #rebuild_swatches : Void
- #setup_ui : Void
- #sync_to_material : Void
Constructor Detail
Class Method Detail
Macro Detail
Instance Method Detail
Dispatches inspector tool button clicks on this object.
Virtual method and property dispatch hooks overridden by class registration macros.
Delta timestep is received with 64-bit precision (Float64).
Dispatches generic virtual methods with raw arguments and return buffer.
Invoked by the GDExtension bridge when retrieving an exposed @export property.
Internal hooks overridden by Lapis node/gdclass/resource classes to expose Crystal-defined methods.
Invoked by the GDExtension bridge when setting an exposed @export property.
Populates @[Export] properties on this object from a Godot::Dictionary.
Computes a deterministic 64-bit hash of all @[Export] properties on this object.