Version: 2019.2
public static void CopyPtrToStructure (void* ptr, out T output);

Parameters

ptrMemory pointer.
outputStruct.

Description

Copies sizeof(T) bytes from ptr to output.