Share via


Matrix3DProjection.ProjectionMatrix Property

Definition

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

public:
 property Matrix3D ProjectionMatrix { Matrix3D get(); void set(Matrix3D value); };
Matrix3D ProjectionMatrix();

void ProjectionMatrix(Matrix3D value);
public Matrix3D ProjectionMatrix { get; set; }
var matrix3D = matrix3DProjection.projectionMatrix;
matrix3DProjection.projectionMatrix = matrix3D;
Public Property ProjectionMatrix As Matrix3D
<Matrix3DProjection ProjectionMatrix="matrix3DInitializationString" />
- or -
<!--xmlns:m3d="using:Windows.UI.Xaml.Media.Media3D"-->
<Matrix3DProjection>
  <m3d:Matrix3D>matrix3DInitializationString</m3d:Matrix3D>
</Matrix3DProjection>

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.

Applies to

See also