文档

Unity Engine

Unity Engine

ReinterpretStore<U>(int, U)

Reinterpret and store data starting at underlying index as a different type.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

ReinterpretStore<T>(int, T)

public void ReinterpretStore<U>(int destIndex, U data) where U : struct

Parameters

destIndex

Index in the underlying array where the data is to be stored.

data

T
The data to store.