RID

Handle for a Resource’s unique ID.

Description

The RID type is used to access the unique integer ID of a resource. They are opaque, which means they do not grant access to the associated resource by themselves. They are used by and with the low-level Server classes such as VisualServer.

Methods

RIDRID ( Object from )
intget_id ( )

Method Descriptions

Creates a new RID instance with the ID of a given resource. When not handed a valid resource, silently stores the unused ID 0.


Returns the ID of the referenced resource.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.