MemsetNativeArray<T>
Assign Value to each element of NativeArray
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IJobParallelFor
[BurstCompile]public struct MemsetNativeArray<T> : IJobParallelFor where T : struct
Fields
Value | Description |
|---|---|
| Source | The destination array, to which the value is copied repeatedly. |
| Value | The value to copy repeatedly to the destination array. |
Methods
Method | Description |
|---|---|
| Execute | This function is executed once for each work unit of the job, potentially concurrently. Each work unit copies one value into the destination array. |