docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LaserConfigAsset

    Description of the laser distribution.

    Inheritance
    object
    Object
    ScriptableObject
    LaserConfigAsset
    Implements
    ILaserConfig
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class LaserConfigAsset : ScriptableObject, ILaserConfig

    Fields

    Name Description
    azimuthOffsets

    Azimuth for every beam. User-ordered.

    elevationOffsets

    Elevation for every beam, must be the same size as azimuthOffsets. User-ordered.

    firingSequence

    An ordered list of delays from the beginning of a trigger to fire the beam. In seconds. User-ordered.

    Properties

    Name Description
    AzimuthsSortedByElevation

    azimuthOffsets array, sorted by elevationOffsets array (output order).

    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.

    MustBuildConfig

    Used to know if we must build the config when we access the config information.

    VerticalCount

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

    Methods

    Name Description
    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.

    Release()

    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)