文档

Unity Engine

Unity Engine

ReadPackedDoubleDelta(double, in StreamCompressionModel)

Reads a 8-byte floating point value from the data stream. If the first bit is 0, the data did not change and baseline will be returned.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

ReadPackedDoubleDelta(double, StreamCompressionModel)

public double ReadPackedDoubleDelta(double baseline, in StreamCompressionModel model)

Parameters

baseline

The previous 8-byte floating point value.

Not currently used.

Returns

Type

Description

doubleA 8-byte floating point value read from the current stream, or
baseline
if there are no changes to the value.