Struct EntityCommandBuffer.Concurrent | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct EntityCommandBuffer.Concurrent

    Allows concurrent (deterministic) command buffer recording.

    Namespace: Unity.Entities
    Syntax
    public struct Concurrent

    Methods

    AddBuffer<T>(Int32, Entity)

    Declaration
    public DynamicBuffer<T> AddBuffer<T>(int jobIndex, Entity e)
        where T : struct, IBufferElementData
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    Returns
    Type Description
    DynamicBuffer<T>
    Type Parameters
    Name Description
    T

    AddComponent<T>(Int32, Entity, T)

    Declaration
    public void AddComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T

    AddSharedComponent<T>(Int32, Entity, T)

    Declaration
    public void AddSharedComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T

    CreateEntity(Int32, EntityArchetype)

    Declaration
    public Entity CreateEntity(int jobIndex, EntityArchetype archetype = default(EntityArchetype))
    Parameters
    Type Name Description
    System.Int32 jobIndex
    EntityArchetype archetype
    Returns
    Type Description
    Entity

    DestroyEntity(Int32, Entity)

    Declaration
    public void DestroyEntity(int jobIndex, Entity e)
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e

    Instantiate(Int32, Entity)

    Declaration
    public Entity Instantiate(int jobIndex, Entity e)
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    Returns
    Type Description
    Entity

    RemoveComponent(Int32, Entity, ComponentType)

    Declaration
    public void RemoveComponent(int jobIndex, Entity e, ComponentType componentType)
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    ComponentType componentType

    RemoveComponent<T>(Int32, Entity)

    Declaration
    public void RemoveComponent<T>(int jobIndex, Entity e)
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    Type Parameters
    Name Description
    T

    SetBuffer<T>(Int32, Entity)

    Declaration
    public DynamicBuffer<T> SetBuffer<T>(int jobIndex, Entity e)
        where T : struct, IBufferElementData
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    Returns
    Type Description
    DynamicBuffer<T>
    Type Parameters
    Name Description
    T

    SetComponent<T>(Int32, Entity, T)

    Declaration
    public void SetComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T

    SetSharedComponent<T>(Int32, Entity, T)

    Declaration
    public void SetSharedComponent<T>(int jobIndex, Entity e, T component)
        where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    System.Int32 jobIndex
    Entity e
    T component
    Type Parameters
    Name Description
    T
    In This Article
    • Methods
      • AddBuffer<T>(Int32, Entity)
      • AddComponent<T>(Int32, Entity, T)
      • AddSharedComponent<T>(Int32, Entity, T)
      • CreateEntity(Int32, EntityArchetype)
      • DestroyEntity(Int32, Entity)
      • Instantiate(Int32, Entity)
      • RemoveComponent(Int32, Entity, ComponentType)
      • 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