docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GenerateOutputs

    GenerateOutputs(double, double)

    Generates the sampling request between the two given times, and write all outputs.

    Declaration
    protected BeamIndices GenerateOutputs(double startTime, double endTime)
    Parameters
    Type Name Description
    double startTime

    The starting time of the sampling request, in seconds.

    double endTime

    The ending time of the sampling request, in seconds. The exact time is excluded from the interval.

    Returns
    Type Description
    BeamIndices

    The beam indices of the last beam in the sampling request.

    Remarks

    Times are expressed relative to the start of the frame. If there is no sample in the given time interval, no sampling request is sent, and the function returns _firstBeam.

    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)