docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IterateState

    IterateState(int)

    Deterministically offsets a sampler's state when generating values within a batched job

    Declaration
    void IterateState(int offsetIndex)
    Parameters
    Type Name Description
    int offsetIndex

    The index used to offset the sampler's state. Typically set to either the current scenario iteration or a job's batch index.

    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)