docs.unity3d.com
    Show / Hide Table of Contents

    Struct PhotosensorRawData

    Stores the measurement done by the photosensor during the sampling.

    Namespace: Mechatronics.SensorSDK
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "D:\\temp\\com.unity.sensorsdk@1.0\\Packages\\com.unity.sensorsdk\\Runtime\\Sensors\\Components\\Photosensor\\PhotosensorRawData.cs", needAccessors = false)]
    public struct PhotosensorRawData

    Fields

    cellIndex

    Identifies the laser beam that took the measurement.

    Declaration
    public uint cellIndex
    Field Value
    Type Description
    UInt32

    intensity

    Intensity measured in watts/m^2

    Declaration
    public float intensity
    Field Value
    Type Description
    Single

    sphericalCoordinates

    Sample position in the sensor's reference frame, in spherical coordinates.

    Declaration
    public Vector3 sphericalCoordinates
    Field Value
    Type Description
    Vector3

    Properties

    Size

    Size of this structure.

    Declaration
    public static readonly int Size { get; }
    Property Value
    Type Description
    Int32
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023