Class HaltonSequence | Core RP Library | 7.1.8
docs.unity3d.com
    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
    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.

    In This Article
    • Methods
      • Get(Int32, Int32)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023