기술 자료

Unity Engine

Unity Engine

WritePackedFloat(float, in StreamCompressionModel)

Writes a 4-byte floating point value to the data stream using a StreamCompressionModel.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

WritePackedFloat(float, StreamCompressionModel)

public bool WritePackedFloat(float value, in StreamCompressionModel model)

Parameters

value

The 4-byte floating point value to write.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful