Documentation

Unity Engine

Download Unity

Unity Engine

MemsetNativeArray<T>

Assign Value to each element of NativeArray
Read time 1 minuteLast updated a month ago

Definition

[BurstCompile]public struct MemsetNativeArray<T> : IJobParallelFor where T : struct

Fields

Value

Description

SourceThe destination array, to which the value is copied repeatedly.
ValueThe value to copy repeatedly to the destination array.

Methods

Method

Description

ExecuteThis function is executed once for each work unit of the job, potentially concurrently. Each work unit copies one value into the destination array.