class

CustomPatternGenerator

Inherits PatternGenerator < Godot::ImageTexture < Godot::Texture2D < Godot::Texture < Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

All-in-one multi-mode procedural pattern generator allowing users to switch between all 19 procedural pattern types with a single dropdown in the Godot Inspector.

Constructors

new

Class methods

_godot_has_virtual_method(method_name : String) : Bool
_godot_register_node_class
godot_class_name
godot_parent_class_name

Instance methods

_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. Delta timestep is received with 64-bit precision (Float64).

_godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void

Invoked by the GDExtension bridge when retrieving an exposed @export property.

_godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void

Invoked by the GDExtension bridge when setting an exposed @export property.

build_svg_body(io : IO, size : Float64, fg : String, bg : String) : Void

Overridden by subclasses to emit SVG pattern elements into io within 0..size coordinate space.

Source
columns
Source
columns=(val : Int64)
Source
kind
Source
kind=(val : PatternKind)
Source
primary_size
Source
primary_size=(val : Float64)
Source
rows
Source
rows=(val : Int64)
Source
secondary_size
Source
secondary_size=(val : Float64)
Source
stagger
Source
stagger=(val : Bool)
Source

Macros

autoload(*args, **kwargs)

DSL directives for in-body autoload configuration

autoload_node(*args, **kwargs)
build
create

Nested types