PlaneProjection
PlaneProjection
PlaneProjection
PlaneProjection
Class
Definition
Represents a perspective transform (a 3-D-like effect) on an object.
public : sealed class PlaneProjection : Projection, IPlaneProjectionpublic sealed class PlaneProjection : Projection, IPlaneProjectionPublic NotInheritable Class PlaneProjection Inherits Projection Implements IPlaneProjection// This API is not available in Javascript.
<PlaneProjection .../>
- Inheritance
-
PlaneProjectionPlaneProjectionPlaneProjectionPlaneProjection
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Examples
To apply a perspective transform to a UIElement, set the UIElement object's Projection property to a PlaneProjection. The PlaneProjection defines how the transform is rendered in space. This example shows a simple case.
<StackPanel Margin="35" Background="Gray">
<StackPanel.Projection>
<PlaneProjection RotationX="-35" RotationY="-35" RotationZ="15" />
</StackPanel.Projection>
<TextBlock Margin="10">Type Something Below</TextBlock>
<TextBox Margin="10"></TextBox>
<Button Margin="10" Content="Click" Width="100" />
</StackPanel>
Constructors
PlaneProjection() PlaneProjection() PlaneProjection() PlaneProjection()
Initializes a new instance of the PlaneProjection class.
public : PlaneProjection()public PlaneProjection()Public Sub New()// This API is not available in Javascript.
Properties
CenterOfRotationX CenterOfRotationX CenterOfRotationX CenterOfRotationX
Gets or sets the x-coordinate of the center of rotation of the object that you rotate.
public : double CenterOfRotationX { get; set; }public double CenterOfRotationX { get; set; }Public ReadWrite Property CenterOfRotationX As double// This API is not available in Javascript.
<PlaneProjection CenterOfRotationX="double"/>
- Value
- double double double double
The x-coordinate of the center of rotation of the object that you rotate. Typical values are between 0 and 1 with a value of 0 corresponding to one edge of the object and 1 to the opposite edge. Values outside this range are allowed and move the center of rotation accordingly. The default is 0.5 (the center of object).
CenterOfRotationXProperty CenterOfRotationXProperty CenterOfRotationXProperty CenterOfRotationXProperty
Identifies the CenterOfRotationX dependency property.
public : static DependencyProperty CenterOfRotationXProperty { get; }public static DependencyProperty CenterOfRotationXProperty { get; }Public Static ReadOnly Property CenterOfRotationXProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CenterOfRotationX dependency property.
CenterOfRotationY CenterOfRotationY CenterOfRotationY CenterOfRotationY
Gets or sets the y-coordinate of the center of rotation of the object that you rotate.
public : double CenterOfRotationY { get; set; }public double CenterOfRotationY { get; set; }Public ReadWrite Property CenterOfRotationY As double// This API is not available in Javascript.
<PlaneProjection CenterOfRotationY="double"/>
- Value
- double double double double
The y-coordinate of the center of rotation of the object that you rotate. Typical values are between 0 and 1 with a value of 0 corresponding to one edge of the object and 1 to the opposite edge. Values outside this range are allowed and move the center of rotation accordingly. The default is 0.5 (the center of object).
CenterOfRotationYProperty CenterOfRotationYProperty CenterOfRotationYProperty CenterOfRotationYProperty
Identifies the CenterOfRotationY dependency property.
public : static DependencyProperty CenterOfRotationYProperty { get; }public static DependencyProperty CenterOfRotationYProperty { get; }Public Static ReadOnly Property CenterOfRotationYProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CenterOfRotationY dependency property.
CenterOfRotationZ CenterOfRotationZ CenterOfRotationZ CenterOfRotationZ
Gets or sets the z-coordinate of the center of rotation of the object that you rotate.
public : double CenterOfRotationZ { get; set; }public double CenterOfRotationZ { get; set; }Public ReadWrite Property CenterOfRotationZ As double// This API is not available in Javascript.
<PlaneProjection CenterOfRotationZ="double"/>
- Value
- double double double double
The z-coordinate of the center of rotation of the object that you rotate. The default is 0. Values greater than 0 correspond to coordinates in front of the plane of the object, and negative values correspond to coordinates behind the plane of the object.
CenterOfRotationZProperty CenterOfRotationZProperty CenterOfRotationZProperty CenterOfRotationZProperty
Identifies the CenterOfRotationZ dependency property.
public : static DependencyProperty CenterOfRotationZProperty { get; }public static DependencyProperty CenterOfRotationZProperty { get; }Public Static ReadOnly Property CenterOfRotationZProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the CenterOfRotationZ dependency property.
GlobalOffsetX GlobalOffsetX GlobalOffsetX GlobalOffsetX
Gets or sets the distance that the object is translated along the x-axis of the screen.
public : double GlobalOffsetX { get; set; }public double GlobalOffsetX { get; set; }Public ReadWrite Property GlobalOffsetX As double// This API is not available in Javascript.
<PlaneProjection GlobalOffsetX="double"/>
- Value
- double double double double
The distance that the object is translated along the x-axis of the screen.
GlobalOffsetXProperty GlobalOffsetXProperty GlobalOffsetXProperty GlobalOffsetXProperty
Identifies the GlobalOffsetX dependency property.
public : static DependencyProperty GlobalOffsetXProperty { get; }public static DependencyProperty GlobalOffsetXProperty { get; }Public Static ReadOnly Property GlobalOffsetXProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the GlobalOffsetX dependency property.
GlobalOffsetY GlobalOffsetY GlobalOffsetY GlobalOffsetY
Gets or sets the distance that the object is translated along the y-axis of the screen.
public : double GlobalOffsetY { get; set; }public double GlobalOffsetY { get; set; }Public ReadWrite Property GlobalOffsetY As double// This API is not available in Javascript.
<PlaneProjection GlobalOffsetY="double"/>
- Value
- double double double double
The distance that the object is translated along the y-axis of the screen.
GlobalOffsetYProperty GlobalOffsetYProperty GlobalOffsetYProperty GlobalOffsetYProperty
Identifies the GlobalOffsetY dependency property.
public : static DependencyProperty GlobalOffsetYProperty { get; }public static DependencyProperty GlobalOffsetYProperty { get; }Public Static ReadOnly Property GlobalOffsetYProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the GlobalOffsetY dependency property.
GlobalOffsetZ GlobalOffsetZ GlobalOffsetZ GlobalOffsetZ
Gets or sets the distance that the object is translated along the z-axis of the screen.
public : double GlobalOffsetZ { get; set; }public double GlobalOffsetZ { get; set; }Public ReadWrite Property GlobalOffsetZ As double// This API is not available in Javascript.
<PlaneProjection GlobalOffsetZ="double"/>
- Value
- double double double double
The distance that the object is translated along the z-axis of the screen.
GlobalOffsetZProperty GlobalOffsetZProperty GlobalOffsetZProperty GlobalOffsetZProperty
Identifies the GlobalOffsetZ dependency property.
public : static DependencyProperty GlobalOffsetZProperty { get; }public static DependencyProperty GlobalOffsetZProperty { get; }Public Static ReadOnly Property GlobalOffsetZProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the GlobalOffsetZ dependency property.
LocalOffsetX LocalOffsetX LocalOffsetX LocalOffsetX
Gets or sets the distance that the object is translated along the x-axis of the plane of the object.
public : double LocalOffsetX { get; set; }public double LocalOffsetX { get; set; }Public ReadWrite Property LocalOffsetX As double// This API is not available in Javascript.
<PlaneProjection LocalOffsetX="double"/>
- Value
- double double double double
The distance that the object is translated along the x-axis of the plane of the object.
LocalOffsetXProperty LocalOffsetXProperty LocalOffsetXProperty LocalOffsetXProperty
Identifies the LocalOffsetX dependency property.
public : static DependencyProperty LocalOffsetXProperty { get; }public static DependencyProperty LocalOffsetXProperty { get; }Public Static ReadOnly Property LocalOffsetXProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the LocalOffsetX dependency property.
LocalOffsetY LocalOffsetY LocalOffsetY LocalOffsetY
Gets or sets the distance that the object is translated along the y-axis of the plane of the object.
public : double LocalOffsetY { get; set; }public double LocalOffsetY { get; set; }Public ReadWrite Property LocalOffsetY As double// This API is not available in Javascript.
<PlaneProjection LocalOffsetY="double"/>
- Value
- double double double double
The distance that the object is translated along the y-axis of the plane of the object.
LocalOffsetYProperty LocalOffsetYProperty LocalOffsetYProperty LocalOffsetYProperty
Identifies the LocalOffsetY dependency property.
public : static DependencyProperty LocalOffsetYProperty { get; }public static DependencyProperty LocalOffsetYProperty { get; }Public Static ReadOnly Property LocalOffsetYProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the LocalOffsetY dependency property.
LocalOffsetZ LocalOffsetZ LocalOffsetZ LocalOffsetZ
Gets or sets the distance that the object is translated along the z-axis of the plane of the object.
public : double LocalOffsetZ { get; set; }public double LocalOffsetZ { get; set; }Public ReadWrite Property LocalOffsetZ As double// This API is not available in Javascript.
<PlaneProjection LocalOffsetZ="double"/>
- Value
- double double double double
The distance that the object is translated along the z-axis of the plane of the object.
LocalOffsetZProperty LocalOffsetZProperty LocalOffsetZProperty LocalOffsetZProperty
Identifies the LocalOffsetZ dependency property.
public : static DependencyProperty LocalOffsetZProperty { get; }public static DependencyProperty LocalOffsetZProperty { get; }Public Static ReadOnly Property LocalOffsetZProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the LocalOffsetZ dependency property.
ProjectionMatrix ProjectionMatrix ProjectionMatrix ProjectionMatrix
Gets the projection matrix of the PlaneProjection.
public : Matrix3D ProjectionMatrix { get; }public Matrix3D ProjectionMatrix { get; }Public ReadOnly Property ProjectionMatrix As Matrix3D// This API is not available in Javascript.
The projection matrix of the PlaneProjection. The default value is null.
ProjectionMatrixProperty ProjectionMatrixProperty ProjectionMatrixProperty ProjectionMatrixProperty
Identifies the ProjectionMatrix dependency property.
public : static DependencyProperty ProjectionMatrixProperty { get; }public static DependencyProperty ProjectionMatrixProperty { get; }Public Static ReadOnly Property ProjectionMatrixProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the ProjectionMatrix dependency property.
RotationX RotationX RotationX RotationX
Gets or sets the number of degrees to rotate the object around the x-axis of rotation.
public : double RotationX { get; set; }public double RotationX { get; set; }Public ReadWrite Property RotationX As double// This API is not available in Javascript.
<PlaneProjection RotationX="double"/>
- Value
- double double double double
The number of degrees to rotate the object around the x-axis of rotation. The default is 0.
RotationXProperty RotationXProperty RotationXProperty RotationXProperty
Identifies the RotationX dependency property.
public : static DependencyProperty RotationXProperty { get; }public static DependencyProperty RotationXProperty { get; }Public Static ReadOnly Property RotationXProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RotationX dependency property.
RotationY RotationY RotationY RotationY
Gets or sets the number of degrees to rotate the object around the y-axis of rotation.
public : double RotationY { get; set; }public double RotationY { get; set; }Public ReadWrite Property RotationY As double// This API is not available in Javascript.
<PlaneProjection RotationY="double"/>
- Value
- double double double double
The number of degrees to rotate the object around the y-axis of rotation. The default is 0.
RotationYProperty RotationYProperty RotationYProperty RotationYProperty
Identifies the RotationY dependency property.
public : static DependencyProperty RotationYProperty { get; }public static DependencyProperty RotationYProperty { get; }Public Static ReadOnly Property RotationYProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RotationY dependency property.
RotationZ RotationZ RotationZ RotationZ
Gets or sets the number of degrees to rotate the object around the z-axis of rotation.
public : double RotationZ { get; set; }public double RotationZ { get; set; }Public ReadWrite Property RotationZ As double// This API is not available in Javascript.
<PlaneProjection RotationZ="double"/>
- Value
- double double double double
The number of degrees to rotate the object around the z-axis of rotation. The default is 0.
RotationZProperty RotationZProperty RotationZProperty RotationZProperty
Identifies the RotationZ dependency property.
public : static DependencyProperty RotationZProperty { get; }public static DependencyProperty RotationZProperty { get; }Public Static ReadOnly Property RotationZProperty As DependencyProperty// This API is not available in Javascript.
The identifier for the RotationZ dependency property.