Rotation Constructor

Initializes a new instance of the Rotation structure.

Overload List

public Rotation(float)

public Rotation(float, Vector3)

MCML Inline Syntax

Rotation.Rotation Constructor

Initializes a new instance of the Rotation structure.

  public Rotation(
  float  
  angleRadians
);

Parameters

angleRadians

System.Single.  The angle of rotation, in radians.

Rotation.Rotation Constructor

Initializes a new instance of the Rotation structure.

  public Rotation(
  float  
  angleRadians
  ,
  Vector3  axis
);

Parameters

angleRadians

System.Single.  The angle of rotation, in radians.

axis

Microsoft.MediaCenter.UI.Vector3.  Specifies the axis of rotation, as follows: AngleDegrees | AngleRadians;X rotation,Y rotation,Z rotation. For example: 0deg;0,0,1.

MCML Inline Syntax

Initializes a new instance of the Rotation structure in MCML.

Rotate="AngleDegrees | AngleRadians;X rotation,Y rotation,Z rotation"

Parameters

AngleDegrees | AngleRadians

System.Single.  The angle of rotation, in degrees or radians.

axis

Microsoft.MediaCenter.UI.Vector3.  Specifies the axis of rotation.

Remarks

The following example shows how to specify a Rotation structure: "0deg;0,0,1".

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