Sdílet prostřednictvím


SpatialLocation.AbsoluteAngularVelocity Property

Definition

Gets the absolute angular velocity of the device in a clamped quaternion representation of the rotation per second. This velocity is expressed in the supplied coordinate system, although the motion is measured relative to the user's surroundings.

public:
 property quaternion AbsoluteAngularVelocity { quaternion get(); };
quaternion AbsoluteAngularVelocity();
/// [get: Windows.Foundation.Metadata.Deprecated("Use AbsoluteAngularVelocityAxisAngle instead of AbsoluteAngularVelocity. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
quaternion AbsoluteAngularVelocity();
public Quaternion AbsoluteAngularVelocity { get; }
public Quaternion AbsoluteAngularVelocity { [Windows.Foundation.Metadata.Deprecated("Use AbsoluteAngularVelocityAxisAngle instead of AbsoluteAngularVelocity. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")] get; }
var quaternion = spatialLocation.absoluteAngularVelocity;
Public ReadOnly Property AbsoluteAngularVelocity As Quaternion

Property Value

Quaternion Quaternion

quaternion

The angular velocity as a clamped quaternion.

Attributes

Remarks

Important

The velocity is clamped to be less than 180 degrees per second in any direction. You should generally use AbsoluteAngularVelocityAxisAngle instead.

Applies to