Class HaltonSequence
An utility class to compute samples on the Halton sequence. https://en.wikipedia.org/wiki/Halton_sequence
Namespace: UnityEngine.Rendering
Syntax
public static class HaltonSequence : object
Methods
Get(Int32, Int32)
Gets a deterministic sample in the Halton sequence.
Declaration
public static float Get(int index, int radix)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index in the sequence. |
Int32 | radix | The radix of the sequence. |
Returns
Type | Description |
---|---|
Single | A sample from the Halton sequence. |