Rotation Structure

Defines an axis of rotation.

  public struct Rotation

Public Instance Constructors

Constructor Description
Rotation(float) Initializes a new instance of the Rotation structure.
Rotation(float, Vector3) Initializes a new instance of the Rotation structure.

Public Operators

Operator Description
Equality Tests whether two specified Rotation structures are equivalent.
Inequality Tests whether two Rotation structures are different.

Public Instance Methods

Method Description
Equals Tests whether the specified object is a Rotation structure and is equivalent to the current Rotation structure.
GetHashCode Returns a hash code for this structure.
ToString Converts this structure to a human-readable string.

Public Static Fields

Field Description
Default Represents a default rotation.

Public Instance Properties

Property Description
AngleDegrees Gets or sets the angle of rotation, in degrees.
AngleRadians Gets or sets the angle of rotation, in radians.
Axis Gets or sets the three-dimensional axis to use for the rotation.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also