Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CalculateBucket(uint)

Calculates the bucket index into the _encodeTable where the specified value should be written.
Read time 1 minuteLast updated 14 days ago

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.