Class Scene
- Namespace
- AO
- Assembly
- CoreAssembly.dll
Scene is a core engine system to work with entities and components.
public static class Scene
- Inheritance
-
Scene
- Inherited Members
Methods
Components<T>(bool)
Get all components of a type in the scene.
public static ComponentEnumerator<T> Components<T>(bool includeDisabled = false) where T : Component
Parameters
includeDisabled
bool
Returns
- ComponentEnumerator<T>
Type Parameters
T
Entities(bool)
Get all entities in the scene.
public static EntityEnumerator Entities(bool includeDisabled = false)
Parameters
includeDisabled
bool
Returns
- EntityEnumerator
GetNextChild(ulong, ref int, out Entity)
public static extern bool GetNextChild(ulong entity_id, ref int cursor, out Entity out_entity)
Parameters
Returns
Unsafe_ServerGetNextNetworkId()
Increments a global network ID counter and returns the new value. This is only allowed to be called on the server. Usually to be used in tandem with Entity.Unsafe_NetworkEntity.
public static extern ulong Unsafe_ServerGetNextNetworkId()