PatternGenerator
Inherits Godot::ImageTexture < Godot::Texture2D < Godot::Texture < Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Base procedural SVG and ImageTexture pattern generator for PatternMaterial / pattern_replace.gdshader.
Because PatternGenerator inherits from Godot::ImageTexture (< Texture2D), any generator subclass
can be assigned directly into the custom_pattern texture slot in the Godot Inspector or via code,
and automatically re-rasterizes its SVG whenever any @[Export] parameter is adjusted.
Constructors
Class methods
Instance methods
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.
Invoked by the GDExtension bridge when setting an exposed @export property.
Assigns this procedural pattern generator to a ShaderMaterial's custom_pattern parameter.
Overridden by subclasses to emit SVG pattern elements into io within 0..size coordinate space.
Calls the named method on the object with variable arguments.
Rebuilds the in-memory ImageTexture from to_svg when backed by a live Godot instance.
Writes the generated SVG string to path (supports res:// or filesystem paths) and returns the resolved path.
Macros
DSL directives for in-body autoload configuration