SpritesheetAtlas
Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Custom Godot Resource representing a packed SVG texture atlas spritesheet
and providing O(1) lookup of frame indices, grid coordinates, and UV rects
by String or Char keys.
Constructors
Class methods
Derives the canonical short key from a raw SVG basename id and strip_prefix.
Instance methods
Looks up the 0-based sprite frame index for key (String or Char), raising KeyError if not found.
Looks up the 0-based sprite frame index for key (Symbol), raising KeyError if not found.
Looks up the 0-based sprite frame index for key (String or Char), or returns nil if not found.
Looks up the 0-based sprite frame index for key (Symbol), or returns nil if not found.
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.
Applies this atlas's base_texture, hframes, vframes, and the resolved frame for key
onto a ShaderMaterial (such as one using pattern_replace.gdshader).
Calls the named method on the object with variable arguments.
Configures all atlas metadata in a single call and rebuilds lookup caches.
Returns true if key exists in this spritesheet atlas.
Returns full ItemInfo metadata for key (String, Char, or Symbol), raising KeyError if not found.
Returns full ItemInfo metadata for key (String, Char, or Symbol), or nil if not found.
Returns full ItemInfo metadata for the 0-based frame index, raising IndexError if out of bounds.
Returns full ItemInfo metadata for the 0-based frame index, or nil if out of bounds.
Normalizes a lookup key (String or Char) into a canonical lowercase hyphenated string.
Registers a key alias (e.g. "happy" => "smile").
Returns the .tres resource path for this atlas, falling back to Resource#get_path when backed by Godot.
Sets the .tres resource path for this atlas without colliding with Resource's built-in resource_path member in ClassDB.
Macros
DSL directives for in-body autoload configuration