-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Media.Matrix3DProjection.ProjectionMatrix |
winrt property |
Gets or sets the Matrix3D that is used for the projection that is applied to the object.
<Matrix3DProjection ProjectionMatrix="matrix3DInitializationString" />
- or -
<!--xmlns:m3d="using:Windows.UI.Xaml.Media.Media3D"-->
<Matrix3DProjection>
<m3d:Matrix3D>matrix3DInitializationString</m3d:Matrix3D>
</Matrix3DProjection>
- 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.
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.
Matrix3D, UIElement.Projection, 3-D perspective effects for XAML UI