Developer Documentation
Our new developer documentation is now available. Please check it out!

CustomEffect<T>.DeserializeUserdata

public virtual T DeserializeUserdata(byte[] data)
public virtual T DeserializeUserdata(IntPtr ptr)

Deserializes userdata from a byte array

Parameters

NameTypeDescription
dataByte[]custom userdata
ptrIntPtrpointer

Returns

TypeDescription
<T>Instance of

Variants

DeserializeUserdata(data)

public virtual T DeserializeUserdata(byte[] data)

Deserializes userdata from a byte array

Parameters

NameTypeDescription
dataByte[]custom userdata

Returns

TypeDescription
<T>Instance of

DeserializeUserdata(ptr)

public virtual T DeserializeUserdata(IntPtr ptr)

Deserializes userdata from a pointer

Parameters

NameTypeDescription
ptrIntPtrpointer

Returns

TypeDescription
<T>Instance of