Documentation

Unity Engine

Download Unity

Unity Engine

CalculateBucket(uint)

Calculates the bucket index into the encodeTable where the specified value should be written.
Read time 1 minuteLast updated a month 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.