Generated wrapper for Godot's Image, extends Resource.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Resourceclass RefCountedclass Objectclass GodotScriptClassclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Image.adjust_bcs
Image.adjust_bcs
Attributes
Image.blend_rect
Image.blend_rect
Attributes
Image.blend_rect_mask
Image.blend_rect_mask
Attributes
Image.blit_rect
Image.blit_rect
Attributes
Image.blit_rect_mask
Image.blit_rect_mask
Attributes
Image.bump_map_to_normal_map
Image.bump_map_to_normal_map
Attributes
Image.clear_mipmaps
Image.clear_mipmaps
Attributes
Image.compress
Image.compress
Attributes
Image.compress_from_channels
Image.compress_from_channels
Attributes
Image.convert
Image.convert
Attributes
Image.crop
Image.crop
Attributes
Image.decompress
Image.decompress
Attributes
Image.detect_alpha
Image.detect_alpha
Attributes
Image.detect_used_channels
Image.detect_used_channels
Attributes
Image.fix_alpha_edges
Image.fix_alpha_edges
Attributes
Image.flip_x
Image.flip_x
Attributes
Image.flip_y
Image.flip_y
Attributes
Image.generate_mipmaps
Image.generate_mipmaps
Attributes
Image.get_data_size
Image.get_data_size
Attributes
Image.get_format
Image.get_format
Attributes
Image.get_height
Image.get_height
Attributes
Image.get_mipmap_count
Image.get_mipmap_count
Attributes
Image.get_mipmap_offset
Image.get_mipmap_offset
Attributes
Image.get_region. Returns an owned reference: release it with unref() or inside Gd.scoped.
Image.get_region. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
Image.get_used_rect
Image.get_used_rect
Attributes
Image.get_width
Image.get_width
Attributes
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
Attributes
- Definition Classes
Image.has_mipmaps
Image.has_mipmaps
Attributes
Image.is_compressed
Image.is_compressed
Attributes
Image.is_empty
Image.is_empty
Attributes
Image.is_invisible
Image.is_invisible
Attributes
Image.linear_to_srgb
Image.linear_to_srgb
Attributes
Image.load
Image.load
Attributes
Image.load_svg_from_string
Image.load_svg_from_string
Attributes
Image.normal_map_to_xy
Image.normal_map_to_xy
Attributes
Image.premultiply_alpha
Image.premultiply_alpha
Attributes
Image.resize
Image.resize
Attributes
Image.resize_to_po2
Image.resize_to_po2
Attributes
Image.rgbe_to_srgb. Returns an owned reference: release it with unref() or inside Gd.scoped.
Image.rgbe_to_srgb. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
Image.rotate_180
Image.rotate_180
Attributes
Image.rotate_90
Image.rotate_90
Attributes
Image.save_dds
Image.save_dds
Attributes
Image.save_exr
Image.save_exr
Attributes
Image.save_jpg
Image.save_jpg
Attributes
Image.save_png
Image.save_png
Attributes
Image.save_webp
Image.save_webp
Attributes
Image.set_pixelv
Image.set_pixelv
Attributes
Image.shrink_x2
Image.shrink_x2
Attributes
Image.srgb_to_linear
Image.srgb_to_linear
Attributes
Inherited methods
EditorInspectorPlugin: can this plugin handle obj's inspector?
EditorInspectorPlugin: can this plugin handle obj's inspector?
Attributes
- Inherited from:
- GodotScriptClass
EditorPlugin/Node: entered the (editor) tree.
EditorPlugin/Node: leaving the (editor) tree.
Called for every unhandled-or-not input event (Node._input).
Called for every unhandled-or-not input event (Node._input).
Attributes
- Inherited from:
- GodotScriptClass
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
Attributes
- Inherited from:
- GodotScriptClass
Called every physics frame; delta is the fixed physics step.
Called every physics frame; delta is the fixed physics step.
Attributes
- Inherited from:
- GodotScriptClass
Called every rendered frame; delta is seconds since the last frame.
Called every rendered frame; delta is seconds since the last frame.
Attributes
- Inherited from:
- GodotScriptClass
Called when the node enters the scene tree and is ready.
Called when the node enters the scene tree and is ready.
Attributes
- Inherited from:
- GodotScriptClass
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for input not consumed by the UI (Node._unhandled_input).
Called for input not consumed by the UI (Node._unhandled_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for unhandled key input (Node._unhandled_key_input).
Called for unhandled key input (Node._unhandled_key_input).
Attributes
- Inherited from:
- GodotScriptClass
EditorProperty: refresh the widget from the edited property's value.
EditorProperty: refresh the widget from the edited property's value.
Attributes
- Inherited from:
- GodotScriptClass
Object.can_translate_messages
Object.cancel_free
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Attributes
- Inherited from:
- GodotScriptClass
Resource.duplicate. Returns an owned reference: release it with unref() or inside Gd.scoped.
Resource.duplicate. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- Resource
Resource.duplicate_deep. Returns an owned reference: release it with unref() or inside Gd.scoped.
Resource.duplicate_deep. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- Resource
Resource.emit_changed
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Attributes
- Inherited from:
- GodotScriptClass
Resource.get_id_for_path
Object.get_instance_id
Resource.get_local_scene
Object.get_method_argument_count
RefCounted.get_reference_count
Resource.get_scene_unique_id
Object.get_translation_domain
Object.has_connections
Object.has_meta
Object.has_method
Object.has_signal
Object.has_user_signal
The engine-side object handle for this instance.
RefCounted.init_ref
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
Attributes
- Inherited from:
- GodotScriptClass
Object.is_blocking_signals
Resource.is_built_in
Object.is_class
Resource.is_local_to_scene
Object.is_queued_for_deletion
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
Attributes
- Inherited from:
- GodotScriptClass
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Attributes
- Inherited from:
- GodotScriptClass
Object.notification
Object.notify_property_list_changed
Object.property_can_revert
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Attributes
- Inherited from:
- GodotScriptClass
RefCounted.reference
Object.remove_meta
Object.remove_user_signal
Resource.reset_state
Object.set_block_signals
Resource.set_id_for_path
Resource.set_local_to_scene
Object.set_message_translation
Resource.set_name
Resource.set_path
Resource.set_path_cache
Resource.set_scene_unique_id
Object.set_translation_domain
Resource.setup_local_to_scene
Resource.take_over_path
Object.tr
Object.tr_n
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Attributes
- Inherited from:
- GodotScriptClass
RefCounted.unreference
Set the handle and return this (fluent, for wrapping fetched objects).
Set the handle and return this (fluent, for wrapping fetched objects).
Attributes
- Inherited from:
- GodotScriptClass