docs.unity3d.com
    Show / Hide Table of Contents

    Struct EntityCommandBuffer.ParallelWriter

    Allows concurrent (deterministic) command buffer recording.

    Namespace: Unity.Entities
    Syntax
    public struct ParallelWriter

    Methods

    Name Description
    AddBuffer<T>(Int32, Entity)
    AddComponent(Int32, Entity, ComponentType)
    AddComponent(Int32, Entity, ComponentTypes)

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

    AddComponent<T>(Int32, Entity)
    AddComponent<T>(Int32, Entity, T)
    AddSharedComponent<T>(Int32, Entity, T)
    AppendToBuffer<T>(Int32, Entity, T)

    Appends a single element to the end of a dynamic buffer component.

    CreateEntity(Int32)

    Create an entity with no components.

    CreateEntity(Int32, EntityArchetype)

    Create an entity with specified archetype.

    DestroyEntity(Int32, Entity)
    Instantiate(Int32, Entity)
    RemoveComponent(Int32, Entity, ComponentType)
    RemoveComponent(Int32, Entity, ComponentTypes)

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

    RemoveComponent<T>(Int32, Entity)
    SetBuffer<T>(Int32, Entity)
    SetComponent<T>(Int32, Entity, T)
    SetSharedComponent<T>(Int32, Entity, T)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023