Class Deserialize
- Namespace
- Coherence.Serializer
- Assembly
- Coherence.Serializer.dll
public static class Deserialize
- Inheritance
-
Deserialize
Methods
ReadEntity(IInBitStream, AbsoluteSimulationFrame, ref ushort, out EntityWithMeta, out AbsoluteSimulationFrame, Logger)
public static bool ReadEntity(IInBitStream bitStream, AbsoluteSimulationFrame referenceSimulationFrame, ref ushort lastIndex, out EntityWithMeta meta, out AbsoluteSimulationFrame entityRefSimulationFrame, Logger logger)
Parameters
bitStreamIInBitStreamreferenceSimulationFrameAbsoluteSimulationFramelastIndexushortmetaEntityWithMetaentityRefSimulationFrameAbsoluteSimulationFrameloggerLogger
Returns
ReadFloatingOrigin(IInBitStream, Logger)
public static Vector3d ReadFloatingOrigin(IInBitStream bitstream, Logger logger)
Parameters
bitstreamIInBitStreamloggerLogger
Returns
ReadPacket(List<IncomingEntityUpdate>, AbsoluteSimulationFrame, Vector3, ISchemaSpecificComponentDeserialize, IInBitStream, IComponentInfo, Logger)
public static void ReadPacket(List<IncomingEntityUpdate> updatesBuffer, AbsoluteSimulationFrame referenceSimulationFrame, Vector3 floatingOriginDelta, ISchemaSpecificComponentDeserialize componentDeserializer, IInBitStream bitStream, IComponentInfo definition, Logger logger)
Parameters
updatesBufferList<IncomingEntityUpdate>referenceSimulationFrameAbsoluteSimulationFramefloatingOriginDeltaVector3componentDeserializerISchemaSpecificComponentDeserializebitStreamIInBitStreamdefinitionIComponentInfologgerLogger
UpdateComponents(ISchemaSpecificComponentDeserialize, IncomingEntityUpdate, AbsoluteSimulationFrame, IInBitStream, IComponentInfo, Logger)
public static IncomingEntityUpdate UpdateComponents(ISchemaSpecificComponentDeserialize componentDeserializer, IncomingEntityUpdate entityUpdate, AbsoluteSimulationFrame entityRefSimulationFrame, IInBitStream bitStream, IComponentInfo definition, Logger logger)
Parameters
componentDeserializerISchemaSpecificComponentDeserializeentityUpdateIncomingEntityUpdateentityRefSimulationFrameAbsoluteSimulationFramebitStreamIInBitStreamdefinitionIComponentInfologgerLogger