文档

Unity Engine

Unity Engine

WritePackedDouble(double, in StreamCompressionModel)

Writes a 8-byte floating point value to the data stream using a StreamCompressionModel.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

WritePackedDouble(double, StreamCompressionModel)

public bool WritePackedDouble(double value, in StreamCompressionModel model)

Parameters

value

The 8-byte floating point value to write.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful