class

PatternGeneratorTool

Inherits Godot::Node < Godot::Object < Reference < Object

In-editor @[Tool] helper node for visually designing procedural patterns, previewing them live on a target 2D/3D node's ShaderMaterial, and exporting custom .svg textures directly to res://addons/pattern_material/textures/patterns/.

Constructors

Class methods

_godot_has_virtual_method(method_name : String) : Bool
Source
_godot_register_node_class
Source
godot_class_name
Source
godot_parent_class_name
Source

Instance methods

_godot_call_tool_button(button_name : String) : Void

Dispatches inspector tool button clicks on this object.

Source
_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).

Source
_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.

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

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

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

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

Source
apply_live_preview
Source
bg_palette
Source
bg_palette=(val : Palette::ColorId)
Source
build_generator

Builds a CustomPatternGenerator matching the current Inspector settings.

Source
call(method : String, *args) : Pointer(Void)

Calls the named method on the object with variable arguments.

Source
columns
Source
columns=(val : Int64)
Source
export_pattern_svg
Source
fg_palette
Source
fg_palette=(val : Palette::ColorId)
Source
invert
Source
invert=(val : Bool)
Source
kind
Source
output_svg_path
Source
output_svg_path=(output_svg_path : String)
Source
pattern_rotation
Source
pattern_rotation=(val : Float64)
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
target_node_path
Source
target_node_path=(target_node_path : String)
Source
tile_size
Source
tile_size=(val : Int64)
Source

Macros

autoload(*args, **kwargs)

DSL directives for in-body autoload configuration

Source
autoload_node(*args, **kwargs)
Source
build
Source
create
Source