Visual.RotationAxis Visual.RotationAxis Visual.RotationAxis Visual.RotationAxis Property

Definition

The axis to rotate the visual around. Animatable.

public : Vector3 RotationAxis { get; set; }
Vector3 RotationAxis();

void RotationAxis(Vector3 rotationaxis);
public Vector3 RotationAxis { get; set; }
Public ReadWrite Property RotationAxis As Vector3

Property Value

Vector3 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.