Class HaltonSeq
Halton sequence utility.
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public static class HaltonSeq
Methods
Get(Int32, Int32)
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 |
---|---|---|
Int32 | index | The sequence index |
Int32 | radix | The sequence base |
Returns
Type | Description |
---|---|
Single | A number from the Halton sequence between 0 and 1. |