class

EmeraldMediaResource

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Godot Resource representing a multimedia asset (video or audio) powered by LibVLC. Provides in-engine metadata inspection (duration, resolution, channels, tags) and seamlessly connects file formats like .mp4, .mkv, .webm, etc. to Godot's FileSystem dock.

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
album
Source
album=(album : String)
Source
artist
Source
artist=(artist : String)
Source
audio_tracks_count
Source
audio_tracks_count=(audio_tracks_count : Int32)
Source
call(method : String, *args) : Pointer(Void)

Calls the named method on the object with variable arguments.

Source
duration_ms
Source
duration_ms=(duration_ms : Int64)
Source
file_path
Source
file_path=(file_path : String)
Source
formatted_duration

Duration formatted as human-readable mm:ss or hh:mm:ss

Source
height
Source
height=(height : Int32)
Source
is_video
Source
is_video=(is_video : Bool)
Source
populate_metadata!

Populates media metadata using LibVLC media parser

Source
resolution

Resolution formatted as "WIDTHxHEIGHT" (e.g. "1920x1080")

Source
subtitle_tracks_count
Source
subtitle_tracks_count=(subtitle_tracks_count : Int32)
Source
title
Source
title=(title : String)
Source
width
Source
width=(width : Int32)
Source

Macros

autoload(*args, **kwargs)

DSL directives for in-body autoload configuration

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