struct Godot::RID

Overview

A handle for a Godot Resource ID. Wraps the engine's 64-bit internal resource identifier.

Defined in:

libgodot/types/rid.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.new(id : UInt64 = 0_u64) #

def self.new(id : Int) #

Instance Method Detail

def ==(other : RID) : Bool #

def id : UInt64 #

def is_valid : Bool #

def to_i64 : Int64 #

def to_s(io : IO) : Void #
Description copied from struct Struct

Same as #inspect(io).


def to_u64 : UInt64 #

def valid? : Bool #