EntityCommandBuffer.ParallelWriter
Allows concurrent (deterministic) command buffer recording.
Read time 2 minutesLast updated 17 hours ago
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public struct EntityCommandBuffer.ParallelWriter
Methods
Method | Description |
|---|---|
| AddBuffer | Records a command to add a dynamic buffer to an entity. |
| AddComponent | Records a command to add a component to a NativeArray of entities. |
| AddComponentForLinkedEntityGroup | Records a command that adds a component to an entity's LinkedEntityGroup based on an EntityQueryMask. Entities in the LinkedEntityGroup that don't match the mask will be skipped safely. |
| AddSharedComponent | Records a command to add an unmanaged shared component value on a NativeArray of entities. |
| AppendToBuffer | Records a command to append a single element to the end of a dynamic buffer component. |
| CreateEntity | Records a command to create an entity with no components. |
| DestroyEntity | Records a command to destroy a NativeArray of entities. |
| Instantiate | Records a command to create an entity with specified entity prefab. |
| RemoveComponent | Records a command to remove one or more components from a NativeArray of entities. |
| ReplaceComponentForLinkedEntityGroup | Records a command that replaces a component value for an entity's LinkedEntityGroup. Entities in the LinkedEntityGroup that don't have the component will be skipped safely. |
| SetBuffer | Records a command to set a dynamic buffer on an entity. |
| SetComponent | Records a command to set a component value on an entity. |
| SetComponentEnabled | Records a command to enable or disable a ComponentType on the specified Entity. This operation does not cause a structural change, or affect the value of the component. For the purposes of EntityQuery matching, an entity with a disabled component will behave as if it does not have that component. |
| SetComponentForLinkedEntityGroup | Records a command that sets a component for an entity's LinkedEntityGroup based on an EntityQueryMask. Entities in the LinkedEntityGroup that don't match the mask will be skipped safely. |
| SetEnabled | Records a command to add or remove the Disabled component. By default EntityQuery does not include entities containing the Disabled component. Enabled entities are processed by systems, disabled entities are not. |
| SetName | Records a command to set a name of an entity if Debug Names is enabled. |
| SetSharedComponent | Records a command to set a shared component value on a NativeArray of entities. |