docs.unity.cn
    Show / Hide Table of Contents

    Class HaltonSequence

    An utility class to compute samples on the Halton sequence. https://en.wikipedia.org/wiki/Halton_sequence

    Inheritance
    Object
    HaltonSequence
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    Syntax
    public static class HaltonSequence

    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023