# 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.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## ReadPackedFloatDelta(float, StreamCompressionModel)

```csharp
public float ReadPackedFloatDelta(float baseline, in StreamCompressionModel model)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The previous 4-byte floating point value.**** (\[StreamCompressionModel]\(/engine/6000.7/script-reference/unity/collections/streamcompressionmodel)): Not currently used.

### Returns

| Type                                                          | Description                                                                                                     |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | A 4-byte floating point value read from the current stream, or `baseline` if there are no changes to the value. |
