Class HaltonSeq
Halton sequence utility.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Runtime.dll
Syntax
public static class HaltonSeq
Methods
Get(int, int)
Gets a value from the Halton sequence for a given index and radix.
Declaration
public static float Get(int index, int radix)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The sequence index |
| int | radix | The sequence base |
Returns
| Type | Description |
|---|---|
| float | A number from the Halton sequence between 0 and 1. |