reckfellENGINE

EncodedObjectAsId

Holds a reference to an Object's instance ID.

On this page
class EncodedObjectAsIdReckfellSharpInherits RefCounted

Holds a reference to an ReckfellObject's instance ID.

Utility class which holds a reference to the internal identifier of an ReckfellObject instance, as given by ReckfellObject.GetInstanceId. This ID can then be used to retrieve the object instance with @GlobalScope.instance_from_id. This class is used internally by the editor inspector and script debugger, but can also be used in plugins to pass and display objects as their IDs.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

EncodedObjectAsIdConstructor
# EncodedObjectAsId
C#
public EncodedObjectAsId();

Properties1

ObjectIdProperty
# ObjectId
C#
public ulong ObjectId { get; set; }

The ReckfellObject identifier stored in this EncodedObjectAsId instance. The object instance can be retrieved with @GlobalScope.instance_from_id.

Methods2

GetObjectIdulong
# GetObjectId
C#
public ulong GetObjectId();
Returns ulong
SetObjectIdvoid
# SetObjectId
C#
public void SetObjectId(ulong id);
Parameters
NameTypeDefault
idulong—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.