New to Telerik UI for WPFStart a free 30-day trial

This class is a concrete implementation of a transition effect that rotates the content in pseudo 3D space.

Definition

Namespace:Telerik.Windows.Controls.TransitionEffects

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public sealed class PerspectiveRotationTransition : PerspectiveTransition

Inheritance: objectTransitionProviderShaderTransitionProviderPerspectiveTransitionPerspectiveRotationTransition

Inherited Members ShaderTransitionProvider.CreateTransition(TransitionContext)ShaderTransitionProvider.LayoutAnimation

Constructors

Initializes a new instance of the PerspectiveRotationTransition class.

C#
public PerspectiveRotationTransition()

Properties

The distance from the camera to the image relative to the image size.

C#
public double CameraDistance { get; set; }

The direction of the rotation RotationDirection

C#
public RotationDirection Direction { get; set; }

The horizontal center of rotation of the new content plane relative to the image size. 0 is left 1 is right. Default is 0.5 - center.

C#
public double NewPlaneCenterOfRotationX { get; set; }

The vertical center of rotation of the new content plane relative to the image size. 0 is top 1 is bottom. Default is 0.5 - center.

C#
public double NewPlaneCenterOfRotationY { get; set; }

The depth of the center of rotation of the new content plane relative to the image size. Default is 0.

C#
public double NewPlaneCenterOfRotationZ { get; set; }

NewPlaneEasing

IEasingFunction

The easing of the old plane's rotation animation.

C#
public IEasingFunction NewPlaneEasing { get; set; }

Specify whether the new content plane should be rendered if the camera is looking at its back.

C#
public bool NewPlaneRenderBack { get; set; }

The horizontal center of rotation of the old content plane relative to the image size. 0 is left 1 is right. Default is 0.5 - center.

C#
public double OldPlaneCenterOfRotationX { get; set; }

The vertical center of rotation of the old content plane relative to the image size. 0 is top 1 is bottom. Default is 0.5 - center.

C#
public double OldPlaneCenterOfRotationY { get; set; }

The depth of the center of rotation of the old content plane relative to the image size. Default is 0.

C#
public double OldPlaneCenterOfRotationZ { get; set; }

OldPlaneEasing

IEasingFunction

The easing of the old plane's rotation animation.

C#
public IEasingFunction OldPlaneEasing { get; set; }

Specify whether the old content plane should be rendered if the camera is looking at its back.

C#
public bool OldPlaneRenderBack { get; set; }

The degrees which the planes will rotate. Default is 180. Most meaningful are 180 and 90 but other angles may be used with proper Z-centers of rotation.

C#
public double RotationLength { get; set; }