Method TryDeserialize
TryDeserialize(NativeArray<byte>, out ARWorldMap)
Create a new ARWorldMap
from a NativeArray
of bytes produced
from Serialize(Allocator). Use this to create an ARWorldMap
from
a serialized array of bytes, either loaded from disk or sent from another device.
Declaration
public static bool TryDeserialize(NativeArray<byte> serializedWorldMap, out ARWorldMap worldMap)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<byte> | serializedWorldMap | An array of bytes representing a serialized |
ARWorldMap | worldMap | On success, holds the deserialized ARWorldMap. |
Returns
Type | Description |
---|---|
bool |
|