docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Samples

    Samples(int, out JobHandle)

    Schedules a job to generate an array of samples

    Declaration
    public override NativeArray<float> Samples(int sampleCount, out JobHandle jobHandle)
    Parameters
    Type Name Description
    int sampleCount

    The number of samples to generate

    JobHandle jobHandle

    The handle of the scheduled job

    Returns
    Type Description
    NativeArray<float>

    A NativeArray of samples

    Overrides
    NumericParameter<float>.Samples(int, out JobHandle)
    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)