Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.27 KB

matrix3dprojection_projectionmatrix.md

File metadata and controls

44 lines (31 loc) · 2.27 KB
-api-id -api-type
P:Windows.UI.Xaml.Media.Matrix3DProjection.ProjectionMatrix
winrt property

Windows.UI.Xaml.Media.Matrix3DProjection.ProjectionMatrix

-description

Gets or sets the Matrix3D that is used for the projection that is applied to the object.

-xaml-syntax

<Matrix3DProjection ProjectionMatrix="matrix3DInitializationString" />
- or -
<!--xmlns:m3d="using:Windows.UI.Xaml.Media.Media3D"-->
<Matrix3DProjection>
  <m3d:Matrix3D>matrix3DInitializationString</m3d:Matrix3D>
</Matrix3DProjection>

-xaml-values

matrix3DInitializationString
matrix3DInitializationStringA string that uses space or comma delimiters to specify values for each of the Point values that constitute a Matrix3D. For more info, see Matrix3D.
## -property-value The [Matrix3D](../windows.ui.xaml.media.media3d/matrix3d.md) that is used for the projection that is applied to the object.

-remarks

The XAML syntax shown requires specifying the 16 properties of a Matrix3D structure in a particular order. For a guide to the string format and the order that's needed for this, see Matrix3D.

If you use an explicit Matrix3D object element rather than the ProjectionMatrix attribute syntax, you need to map a XAML namespace for Windows.UI.Xaml.Media.Media3D to use the Matrix3D type. For more info, see "XAML syntax for Matrix3D " in Remarks for Matrix3D.

ProjectionMatrix is the XAML content property for Matrix3DProjection, so you can omit XAML property elements if you do use the explicit Matrix3D object element rather than the attribute form with initialization string.

-examples

-see-also

Matrix3D, UIElement.Projection, 3-D perspective effects for XAML UI