Class
PerspectiveRotationTransition

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:

cs-api-definition
public sealed class PerspectiveRotationTransition : PerspectiveTransition

Inheritance: objectTransitionProviderShaderTransitionProviderPerspectiveTransitionPerspectiveRotationTransition

Inherited Members ShaderTransitionProvider.CreateTransition(TransitionContext)ShaderTransitionProvider.LayoutAnimation

Constructors

PerspectiveRotationTransition()

Initializes a new instance of the PerspectiveRotationTransition class.

Declaration

cs-api-definition
public PerspectiveRotationTransition()

Properties

CameraDistance

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

Declaration

cs-api-definition
public double CameraDistance { get; set; }

Property Value

double

Direction

The direction of the rotation RotationDirection

Declaration

cs-api-definition
public RotationDirection Direction { get; set; }

Property Value

RotationDirection

NewPlaneCenterOfRotationX

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.

Declaration

cs-api-definition
public double NewPlaneCenterOfRotationX { get; set; }

Property Value

double

NewPlaneCenterOfRotationY

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.

Declaration

cs-api-definition
public double NewPlaneCenterOfRotationY { get; set; }

Property Value

double

NewPlaneCenterOfRotationZ

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

Declaration

cs-api-definition
public double NewPlaneCenterOfRotationZ { get; set; }

Property Value

double

NewPlaneEasing

The easing of the old plane's rotation animation.

Declaration

cs-api-definition
public IEasingFunction NewPlaneEasing { get; set; }

Property Value

IEasingFunction

NewPlaneRenderBack

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

Declaration

cs-api-definition
public bool NewPlaneRenderBack { get; set; }

Property Value

bool

OldPlaneCenterOfRotationX

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.

Declaration

cs-api-definition
public double OldPlaneCenterOfRotationX { get; set; }

Property Value

double

OldPlaneCenterOfRotationY

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.

Declaration

cs-api-definition
public double OldPlaneCenterOfRotationY { get; set; }

Property Value

double

OldPlaneCenterOfRotationZ

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

Declaration

cs-api-definition
public double OldPlaneCenterOfRotationZ { get; set; }

Property Value

double

OldPlaneEasing

The easing of the old plane's rotation animation.

Declaration

cs-api-definition
public IEasingFunction OldPlaneEasing { get; set; }

Property Value

IEasingFunction

OldPlaneRenderBack

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

Declaration

cs-api-definition
public bool OldPlaneRenderBack { get; set; }

Property Value

bool

RotationLength

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.

Declaration

cs-api-definition
public double RotationLength { get; set; }

Property Value

double