ドキュメント

Unity Engine

Unity Engine

CopyPtrToStructure<T>(void*, out T)

Copies sizeof(T) bytes from a memory pointer to a struct.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

CopyPtrToStructure<T>(void*, T)

public static void CopyPtrToStructure<T>(void* ptr, out T output) where T : struct

Parameters

The memory pointer to copy from.

output

T
A struct to copy data to.