Matrix3DProjection.ProjectionMatrix Matrix3DProjection.ProjectionMatrix Matrix3DProjection.ProjectionMatrix Matrix3DProjection.ProjectionMatrix Property

Definition

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

public : Matrix3D ProjectionMatrix { get; set; }
Matrix3D ProjectionMatrix();

void ProjectionMatrix(Matrix3D projectionmatrix);
public Matrix3D ProjectionMatrix { get; set; }
Public ReadWrite Property ProjectionMatrix As Matrix3D
<Matrix3DProjection ProjectionMatrix="matrix3DInitializationString" />

Property Value

The Matrix3D 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.

See also