コード例 #1
0
 /// <summary>
 /// Creates a specific SensorState.
 /// </summary>
 /// <param name="name">The name of the sensor.</param>
 /// <param name="orientation">The orientation of the sensor.</param>
 public SensorState(string name, ServiceUnitQuaternion orientation)
 {
     Name        = name;
     Orientation = orientation;
 }
コード例 #2
0
 /// <summary>
 /// Creates a default SensorState.
 /// </summary>
 public SensorState()
 {
     Orientation = new ServiceUnitQuaternion();
     Name        = string.Empty;
 }