기술 자료

Unity Engine

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.
읽는 시간 1분최근 업데이트: 한 달 전

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.