Visual.RotationAxis Property

Definition

The axis to rotate the visual around. Animatable.

public:
 property float3 RotationAxis { float3 get(); void set(float3 value); };
float3 RotationAxis();

void RotationAxis(float3 value);
public Vector3 RotationAxis { get; set; }
var vector3 = visual.rotationAxis;
visual.rotationAxis = vector3;
Public Property RotationAxis As Vector3

Property Value

Vector3 Vector3

float3

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