docs.unity.cn
    Show / Hide Table of Contents

    Struct EntityCommandBuffer.ParallelWriter

    Allows concurrent (deterministic) command buffer recording.

    Namespace: Unity.Entities
    Syntax
    [NativeContainer]
    [NativeContainerIsAtomicWriteOnly]
    public struct ParallelWriter

    Methods

    Name Description
    AddBuffer<T>(Int32, Entity)

    Records a command to add a dynamic buffer to an entity.

    AddComponent(Int32, NativeArray<Entity>, ComponentType)

    Records a command to add a component to a NativeArray of entities.

    AddComponent(Int32, NativeArray<Entity>, ComponentTypes)

    Records a command to add one or more components to a NativeArray of entities.

    AddComponent(Int32, Entity, ComponentType)

    Records a command to add a component to an entity.

    AddComponent(Int32, Entity, ComponentTypes)

    Records a command to add one or more components to an entity.

    AddComponent<T>(Int32, NativeArray<Entity>)

    Records a command to add component of type T to a NativeArray of entities.

    AddComponent<T>(Int32, NativeArray<Entity>, T)

    Records a command to add component of type T to a NativeArray of entities.

    AddComponent<T>(Int32, Entity)

    Records a command to add component of type T to an entity.

    AddComponent<T>(Int32, Entity, T)

    Records a command to add component of type T to an entity.

    AddSharedComponent<T>(Int32, NativeArray<Entity>, T)

    Records a command to add a shared component value on a NativeArray of entities.

    AddSharedComponent<T>(Int32, Entity, T)

    Records a command to add a shared component value on an entity.

    AppendToBuffer<T>(Int32, Entity, T)

    Records a command to append a single element to the end of a dynamic buffer component.

    CreateEntity(Int32)

    Records a command to create an entity with no components.

    CreateEntity(Int32, EntityArchetype)

    Records a command to create an entity with specified archetype.

    DestroyEntity(Int32, NativeArray<Entity>)

    Records a command to destroy a NativeArray of entities.

    DestroyEntity(Int32, Entity)

    Records a command to destroy an entity.

    Instantiate(Int32, Entity)

    Records a command to create an entity with specified entity prefab.

    Instantiate(Int32, Entity, NativeArray<Entity>)

    Records a command to create a NativeArray of entities with specified entity prefab.

    RemoveComponent(Int32, NativeArray<Entity>, ComponentType)

    Records a command to remove one or more components from a NativeArray of entities.

    RemoveComponent(Int32, NativeArray<Entity>, ComponentTypes)

    Records a command to remove one or more components from a NativeArray of entities.

    RemoveComponent(Int32, Entity, ComponentType)

    Records a command to remove a component from an entity.

    RemoveComponent(Int32, Entity, ComponentTypes)

    Records a command to remove one or more components from an entity.

    RemoveComponent<T>(Int32, NativeArray<Entity>)

    Records a command to remove component of type T from a NativeArray of entities.

    RemoveComponent<T>(Int32, Entity)

    Records a command to remove component of type T from an entity.

    SetBuffer<T>(Int32, Entity)

    Records a command to set a dynamic buffer on an entity.

    SetComponent<T>(Int32, Entity, T)

    Records a command to set a component value on an entity.

    SetName(Int32, Entity, in FixedString64Bytes)

    Records a command to set a name of an entity if Debug Names is enabled.

    SetSharedComponent<T>(Int32, NativeArray<Entity>, T)

    Records a command to set a shared component value on a NativeArray of entities.

    SetSharedComponent<T>(Int32, Entity, T)

    Records a command to set a shared component value on an entity.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use