InstanceId

gdext.internal.engine.InstanceId$package.InstanceId
object InstanceId

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
InstanceId.type

Members list

Value members

Concrete methods

def fromI64(id: Long): InstanceId

Wrap a raw i64 instance id (as returned by Object.get_instance_id).

Wrap a raw i64 instance id (as returned by Object.get_instance_id).

Attributes

Concrete fields

The null/invalid sentinel (id 0).

The null/invalid sentinel (id 0).

Attributes

Extensions

Extensions

extension (self: InstanceId)
def isNull: Boolean

True if this is the null/invalid sentinel.

True if this is the null/invalid sentinel.

Attributes

def toI64: Long

The id as an i64 (matches gdext's InstanceId::to_i64).

The id as an i64 (matches gdext's InstanceId::to_i64).

Attributes

def toLong: Long

The id as a Long (alias for toI64).

The id as a Long (alias for toI64).

Attributes