CopyPtrToStructure<T>(void*, out T)
Copies sizeof(T) bytes from a memory pointer to a struct.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
CopyPtrToStructure<T>(void*, T)
public static void CopyPtrToStructure<T>(void* ptr, out T output) where T : struct