class

TartanPattern

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

Procedural Multi-Band Scottish Tartan / Flannel Plaid 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.

accent_band_width
Source
accent_band_width=(val : Float64)
Source
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
diagonal_twill
Source
diagonal_twill=(val : Bool)
Source
main_band_width
Source
main_band_width=(val : Float64)
Source
subdivisions
Source
subdivisions=(val : Int64)
Source

Macros

autoload(*args, **kwargs)

DSL directives for in-body autoload configuration

autoload_node(*args, **kwargs)
build
create