docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetFiringSequence

    GetFiringSequence(double)

    Gives the delay for each beam to fire when it's time to sample the simulation, sorted in output (elevation) order. Size equal to LaserCount.

    Declaration
    public override ExchangeBuffer<float> GetFiringSequence(double firingPeriod)
    Parameters
    Type Name Description
    double firingPeriod

    Time between the first laser fire and the last one.

    Returns
    Type Description
    ExchangeBuffer<float>

    An object containing a list firing time stamp (one for each laser) and the compute buffer with the same information for gpu usage.

    Overrides
    LaserConfigMonoBehaviour.GetFiringSequence(double)
    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)