文档

Unity Engine

Unity Engine

CalculateBucket(uint)

Calculates the bucket index into the encodeTable where the specified value should be written.
阅读时间1 分钟最后更新于 25 天前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public readonly int CalculateBucket(uint value)

Parameters

value

A 4-byte unsigned integer value to find a bucket for.

Returns

Type

Description

intThe bucket index where to put the value.