class

FacesSpritesheetBuilder

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

In-editor tool node for packing all face SVGs in textures/fontawesome/faces into the padded textures/fontawesome/faces.svg texture atlas spritesheet. Delegates core normalization and atlas building to SvgSpritesheetBuilder.

Constants

DEFAULT_COLUMNS = Faces::DEFAULT_COLS
DEFAULT_FACES_DIR = Faces::SOURCE_DIR
DEFAULT_ICON_SIZE = Faces::ICON_SIZE
DEFAULT_OUTPUT_PATH = Faces::TEXTURE_PATH
DEFAULT_PADDING = Faces::PADDING

Constructors

Class methods

_godot_has_virtual_method(method_name : String) : Bool
Source
_godot_register_node_class
Source
extract_paths(svg_content : String) : Array(String)

Extracts all <path .../> elements from a normalized SVG string.

Source
generate(faces_dir : String = DEFAULT_FACES_DIR, output_path : String = DEFAULT_OUTPUT_PATH, columns : Int32 = DEFAULT_COLUMNS, icon_size : Int32 = DEFAULT_ICON_SIZE, padding : Int32 = DEFAULT_PADDING) : Result

Scans faces_dir for all .svg files, normalizes each file in-place if needed, and writes the combined padded spritesheet to output_path.

Source
godot_class_name
Source
godot_parent_class_name
Source
normalize_face_svg(svg_content : String) : String

Normalizes a single face SVG string so that any shape with opacity has its opacity removed and its fill changed to solid white (#ffffff).

Source
resolve_filesystem_path(path : String) : String
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
call(method : String, *args) : Pointer(Void)

Calls the named method on the object with variable arguments.

Source
columns
Source
columns=(columns : Int64)
Source
faces_dir
Source
faces_dir=(faces_dir : String)
Source
icon_size
Source
icon_size=(icon_size : Int64)
Source
output_path
Source
output_path=(output_path : String)
Source
padding
Source
padding=(padding : Int64)
Source
rebuild_all_spritesheets
Source
rebuild_faces_svg
Source
rebuild_letter_glyphs_svg
Source
sync_head_atlas_grid(cols : Int32, rows : Int32) : Void

Updates %Head's ShaderMaterial hframes and vframes parameters in the active scene.

Source

Macros

autoload(*args, **kwargs)

DSL directives for in-body autoload configuration

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

Nested types