docs.unity3d.com
    Show / Hide Table of Contents

    Struct SampleStamp

    Used to store sampling request internally.

    Namespace: Mechatronics.SensorSDK
    Syntax
    public struct SampleStamp

    Constructors

    SampleStamp(Transform, Transform, Int32)

    Construct and initialize a sample stamp.

    Declaration
    public SampleStamp(Transform sensorToWorldTransform, Transform referenceToWorldTransform, int _count)
    Parameters
    Type Name Description
    Transform sensorToWorldTransform

    Transform of the photosensor (rotating part)

    Transform referenceToWorldTransform

    Transform of the reference frame used for outputs (fixed part)

    Int32 _count

    Number of sample to take

    Fields

    count

    Number of sample to take

    Declaration
    public int count
    Field Value
    Type Description
    Int32

    referenceToWorldRotation

    Orientation of the sensor's reference frame in world space.

    Declaration
    public Vector4 referenceToWorldRotation
    Field Value
    Type Description
    Vector4

    referenceToWorldTranslation

    Position of the sensor's reference frame in world space.

    Declaration
    public Vector3 referenceToWorldTranslation
    Field Value
    Type Description
    Vector3

    sensorToWorldRotation

    Orientation of the photosensor in world space.

    Declaration
    public Vector4 sensorToWorldRotation
    Field Value
    Type Description
    Vector4

    sensorToWorldTranslation

    Position of the photosensor in world space.

    Declaration
    public Vector3 sensorToWorldTranslation
    Field Value
    Type Description
    Vector3
    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