imported>ProbablePrime m ProbablePrime moved page Category:Types:IWorldElement to Types:IWorldElement |
m chore: category caps |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
The '''IWorldElement''' type is an [[interface type]] that represents any object of a [[reference type]] that may exist in a world. | |||
Every object that can be referenced can be casted to and from IWorldElement, making the type a universal interface to everything in a world. | |||
| Type | |||
| | Objects that are IWorldElements include, but are not limited to: | ||
| | |||
| IWorldElement | * [[Slots]] | ||
* [[Components]] | |||
* [[Users]] | |||
[[Category: | * [[Type:SyncElement|Sync Elements]], such as [[Type:IField|fields]] on an object | ||
* [[Type:SyncObject|Sync Objects]], such as <code>Point</code>s on a [[Component:ValueGradientDriver|ValueGradientDriver]] | |||
Every IWorldElement has a unique [[Type:RefID|reference ID]] associated with it. Only one IWorldElement in a world may have any given reference ID, including elements that exist outside of the [[Root]] hierarchy. | |||
[[Category:Type]] | |||
[[Category:Reference types]] |
Latest revision as of 03:46, 10 June 2025
The IWorldElement type is an interface type that represents any object of a reference type that may exist in a world.
Every object that can be referenced can be casted to and from IWorldElement, making the type a universal interface to everything in a world.
Objects that are IWorldElements include, but are not limited to:
- Slots
- Components
- Users
- Sync Elements, such as fields on an object
- Sync Objects, such as
Point
s on a ValueGradientDriver
Every IWorldElement has a unique reference ID associated with it. Only one IWorldElement in a world may have any given reference ID, including elements that exist outside of the Root hierarchy.