Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
RID¶
A handle for a Resource's unique identifier.
Description¶
The RID Variant type is used to access a low-level resource by its unique ID. RIDs are opaque, which means they do not grant access to the resource by themselves. They are used by the low-level server classes, such as DisplayServer, RenderingServer, TextServer, etc.
A low-level resource may correspond to a high-level Resource, such as Texture or Mesh.
注釈
There are notable differences when using this API with C#. See C# API differences to GDScript for more information.
Constructors¶
RID ( ) |
|
Methods¶
get_id ( ) const |
|
is_valid ( ) const |
Operators¶
operator != ( RID right ) |
|
operator < ( RID right ) |
|
operator <= ( RID right ) |
|
operator == ( RID right ) |
|
operator > ( R |