Method CopyFromComponentDataArrayAsync
CopyFromComponentDataArrayAsync<T>(NativeArray<T>, out JobHandle)
Asynchronously copies the component values in the provided NativeArray to the entities matching this query.
Declaration
[BurstCompatible(GenericTypeArguments = new Type[]{typeof(BurstCompatibleComponentData)})]
public void CopyFromComponentDataArrayAsync<T>(NativeArray<T> componentDataArray, out JobHandle jobhandle)
where T : struct, IComponentData
Parameters
Type | Name | Description |
---|---|---|
NativeArray<T> | componentDataArray | |
JobHandle | jobhandle | An |
Type Parameters
Name | Description |
---|---|
T | The component type. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if |