class

DiamondPattern

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

Procedural Argyle / Diamond Lattice pattern generator.

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
diamond_scale
Source
diamond_scale=(val : Float64)
Source
hollow_stroke
Source
hollow_stroke=(val : Float64)
Source
rows
Source
rows=(val : Int64)
Source

Macros

autoload(*args, **kwargs)

DSL directives for in-body autoload configuration

autoload_node(*args, **kwargs)
build
create