Current frame number (starts from 1); incremented by beginFrame() 当前帧号(从1开始);调用beginFrame()自增
Enter iteration period (called by Query.forEach internally) 进入遍历期(Query.forEach内部调用)
Leave iteration period (called by Query.forEach internally) 离开遍历期(Query.forEach内部调用)
Convenience method: add component by constructor 便捷方法:通过构造函数添加组件
Optional
data: Partial<T>Add component to entity (convenience method) 向实体添加组件(便捷方法)
Optional
data: Partial<T>Add component to entity 向实体添加组件
Add tag to entity 为实体添加标签
Get number of alive entities 获取存活实体数量
Begin new frame (call at start of main loop) 开始新帧(在主循环开始时调用)
Remove all tags from entity 移除实体的所有标签
Create command buffer for deferred operations 创建命令缓冲区用于延迟操作
Create new entity 创建新实体
Create tag mask for multiple tag names 为多个标签名称创建掩码
Debug method: list all component stores with their sizes 调试方法:列出所有组件存储及其大小
Destroy entity and remove all its components 销毁实体并移除其所有组件
Check if entity has component 检查实体是否拥有组件
Get current epoch/frame number for change tracking 获取当前时代/帧号用于变更追踪
Get all component type IDs that have active stores 获取所有有活动存储的组件类型ID
Get event channel for Added events 获取Added事件通道
Get all alive entities 获取所有存活的实体
Get archetype index for query optimization 获取原型索引用于查询优化
Get component from entity (convenience method) 从实体获取组件(便捷方法)
Get entities that have specific tag 获取具有特定标签的实体
Get component from entity 从实体获取组件
Get all components with their type IDs for an entity 获取实体的所有组件及其类型ID
Get entity's tag bit set 获取实体的标签位集
Get all tag names for an entity 获取实体的所有标签名称
Get event channel for Removed events 获取Removed事件通道
Get component store for type (used by Query) 获取类型的组件存储(供Query使用)
Get tag mask manager for bit operations 获取标签掩码管理器用于位操作
Check if entity has component (convenience method) 检查实体是否有组件(便捷方法)
Check if entity has tag 检查实体是否具有标签
Check if entity is alive 检查实体是否存活
Check if entity is enabled 检查实体是否启用
Manually mark component as changed - call after modifying component fields in systems 手动标记某组件"已被修改"——在系统里改了字段后调用
Create query for required components 为必需组件创建查询
Create query for required components 为必需组件创建查询
Create query for required components 为必需组件创建查询
Remove component from entity (convenience method) 从实体移除组件(便捷方法)
Remove component from entity 从实体移除组件
Remove tag from entity 从实体移除标签
Set component data for entity (convenience method) 为实体设置组件数据(便捷方法)
Set entity enabled state 设置实体启用状态
World manages all entities and components World管理所有实体和组件