기술 자료

Unity Engine

Unity Engine

ReinterpretStore<U>(int, U)

Reinterpret and store data starting at underlying index as a different type.
읽는 시간 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.