A built-in component representing the owner of an entity group. All the sub entities get destroyed as their owner is destroyed. Use GetEntities or FrameBase.GetEntityGroupIterator to iterate.
More...
Inherits IComponent.
|
| ReadOnlySpan< EntityRef > | GetEntities (FrameBase f) |
| | Returns owned entities. This span becomes invalid if the owner entity is destroyed. It also does not filter for owned entities that have already been destroyed. For more resilience, use FrameBase.GetEntityGroupIterator More...
|
| |
A built-in component representing the owner of an entity group. All the sub entities get destroyed as their owner is destroyed. Use GetEntities or FrameBase.GetEntityGroupIterator to iterate.
◆ Serialize()
| static void EntityGroup.Serialize |
( |
void * |
ptr, |
|
|
FrameSerializer |
stream |
|
) |
| |
|
inlinestatic |
Serialized the map entity link on the snapshot.
- Parameters
-
| ptr | Pointer to data |
| stream | The stream to serialize to |
◆ Create()
◆ GetEntities()
Returns owned entities. This span becomes invalid if the owner entity is destroyed. It also does not filter for owned entities that have already been destroyed. For more resilience, use FrameBase.GetEntityGroupIterator