Visual.RotationAxis Property

Definition

The axis to rotate the visual around. Animatable.

C#
public Vector3 RotationAxis { get; set; }

Property Value

Vector3

The axis to rotate the visual around. For example, a value of Vector3(1,0,0) indicates rotation along the x-axis.

Remarks

This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.

Visual supports two forms of rotation, by axis-angle, and by orientation.

Applies to

Продукт Версії
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6