Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReadPackedFloatDelta(float, in StreamCompressionModel)

Reads a 4-byte floating point value from the data stream. If the first bit is 0, the data did not change and baseline will be returned.
Read time 1 minuteLast updated 9 days ago

Definition

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

ReadPackedFloatDelta(float, StreamCompressionModel)

public float ReadPackedFloatDelta(float baseline, in StreamCompressionModel model)

Parameters

baseline

The previous 4-byte floating point value.

Not currently used.

Returns

Type

Description

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