docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SingleForwardLaserConfig

    Used as default laser configuration when there is no configuration set. By default there is only a single laser looking forward (Z+) and 0 seconds of delay before firing.

    Inheritance
    object
    SingleForwardLaserConfig
    Implements
    ILaserConfig
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    public class SingleForwardLaserConfig : ILaserConfig, IDisposable

    Constructors

    Name Description
    SingleForwardLaserConfig()

    Initialize the laser configuration with one laser looking forward (Z+) and 0 seconds of delay before firing.

    Properties

    Name Description
    HorizontalCount

    The number of lasers in the horizontal direction. Minimum 1.

    LaserPoses

    Gives the lasers position and orientation, sorted in output (elevation) order. Size equal to LaserCount.

    VerticalCount

    The number of lasers in the vertical direction. Minimum 1.

    Methods

    Name Description
    Dispose()

    Release gpu allocated buffer.

    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.

    Events

    Name Description
    LaserConfigChange

    An event to register to when a notification of the beam configuration is required.

    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)