Struct MemsetNativeArray<T>
Assign Value to each element of NativeArray
Namespace: Unity.Entities
Syntax
[BurstCompile]
public struct MemsetNativeArray<T> : IJobParallelFor where T : struct
Type Parameters
Name | Description |
---|---|
T | Type of element in NativeArray |
Fields
Source
Declaration
public NativeArray<T> Source
Field Value
Type | Description |
---|---|
NativeArray<T> |
Value
Declaration
public T Value
Field Value
Type | Description |
---|---|
T |
Methods
Execute(Int32)
Declaration
public void Execute(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |