VirtualEntity
Hierarchy
- WorldObject
- VirtualEntity
Index
Constructors
Properties
Methods
Constructors
publicconstructor
Creates a new Virtual Entity
Properties
publicdimension
Object dimension.
publicreadonlygroup
Virtual Entity Group this entity belongs to
publicreadonlyid
publicreadonlyisRemote
Whether this entity was created clientside or serverside. (Clientside = false, Serverside = true).
publicreadonlyisStreamedIn
publicpos
Object position
publicreadonlyrefCount
Returns the ref count of the entity.
publicreadonlyremoteID
The serverside id of this entity.
publicreadonlytype
Type of the object.
publicreadonlyvalid
Object usability.
publicvisible
publicstaticreadonlyall
Returns all Virtual Entity instances
publicstaticreadonlystreamedIn
Methods
publicdeleteMeta
publicdestroy
Removes the object from the world.
publicgetMeta
Type parameters
- K: string
publicgetMetaDataKeys
publicgetStreamSyncedMeta
Gets a value using the specified key. Only available for server-side created Virtual Entities.
Type parameters
- K: string
publicgetStreamSyncedMetaKeys
Returns all set meta keys of the Virtual Entity. Only available for server-side created Virtual Entities.
publicgetSyncedMeta
Gets a value using the specified key.
Type parameters
- K: string
publicgetSyncedMetaKeys
publichasMeta
publichasStreamSyncedMeta
Determines whether contains the specified key. Only available for server-side created Virtual Entities.
publichasSyncedMeta
Determines whether contains the specified key.
publicsetMeta
Type parameters
- K: string
publicstaticgetByID
Gets the base object with the given type and local id
Documentation