Show / Hide Table of Contents

Class Sample

This class represents a single data point for a tracked object in a dataset.

Inheritance
System.Object
Sample
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IMLD.MixedRealityAnalysis.Core
Assembly: Assembly-CSharp.dll
Syntax
public class Sample

Constructors

Sample(Vector3, Quaternion, Vector3)

Initializes a new instance of the Sample class.

Declaration
public Sample(Vector3 position, Quaternion orientation, Vector3 scale)
Parameters
Type Name Description
UnityEngine.Vector3 position

The position of this sample.

UnityEngine.Quaternion orientation

The orientation of this sample.

UnityEngine.Vector3 scale

The scale of this sample.

Remarks

This constructor does only set the position, orientation, and scale of the sample. Make sure to set the other properties as needed.

Properties

Position

Gets or sets the position of this sample.

Declaration
public Vector3 Position { get; set; }
Property Value
Type Description
UnityEngine.Vector3

Rotation

Gets or sets the rotation (orientation) of this sample.

Declaration
public Quaternion Rotation { get; set; }
Property Value
Type Description
UnityEngine.Quaternion

Scale

Gets or sets the scale of this sample.

Declaration
public Vector3 Scale { get; set; }
Property Value
Type Description
UnityEngine.Vector3

Speed

Gets or sets the speed of this sample.

Declaration
public float Speed { get; set; }
Property Value
Type Description
System.Single

State

Gets or sets the event state of this sample.

Declaration
public string State { get; set; }
Property Value
Type Description
System.String

Timestamp

Gets or sets the timestamp of this sample.

Declaration
public long Timestamp { get; set; }
Property Value
Type Description
System.Int64
In This Article
Back to top Generated by DocFX