ドキュメント

Unity Engine

Unity Engine

WritePackedIntDelta(int, int, in StreamCompressionModel)

Writes a delta 4-byte signed integer value to the data stream using a StreamCompressionModel.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

WritePackedIntDelta(int, int, StreamCompressionModel)

public bool WritePackedIntDelta(int value, int baseline, in StreamCompressionModel model)

Parameters

value

The current 4-byte signed integer value.

baseline

The previous 4-byte signed integer value, used to compute the diff.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful