docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResetState

    ResetState()

    Resets a sampler's state to its base random seed

    Declaration
    public void ResetState()
    Implements
    ISampler.ResetState()

    ResetState(int)

    Resets a sampler's state to its base random seed and then offsets said seed using an index value

    Declaration
    public void ResetState(int index)
    Parameters
    Type Name Description
    int index

    Often a the active scenario's currentIteration

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)