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

Parameters

ptrMemory pointer.
outputStruct.

Description

Copies sizeof(T) bytes from ptr to output.