Matrix3DHelper.FromElements method

Applies to Windows and Windows Phone

Defines a new Matrix3D value, using element values for each of the possible values of a Matrix3D structure. C# and Microsoft Visual Basic code should use Matrix3D constructor instead.

Syntax


public:
static Matrix3D FromElements(
  double m11, 
  double m12, 
  double m13, 
  double m14, 
  double m21, 
  double m22, 
  double m23, 
  double m24, 
  double m31, 
  double m32, 
  double m33, 
  double m34, 
  double offsetX, 
  double offsetY, 
  double offsetZ, 
  double m44
)

Parameters

m11

Type: Double

The value to set for M11 of the Matrix3D.

m12

Type: Double

The value to set for M12 of the Matrix3D..

m13

Type: Double

The value to set for M13 of the Matrix3D.

m14

Type: Double

The value to set for M14 of the Matrix3D.

m21

Type: Double

The value to set for M21 of the Matrix3D.

m22

Type: Double

The value to set for M22 of the Matrix3D.

m23

Type: Double

The value to set for M23 of the Matrix3D.

m24

Type: Double

The value to set for M24 of the Matrix3D.

m31

Type: Double

The value to set for M31 of the Matrix3D.

m32

Type: Double

The value to set for M32 of the Matrix3D.

m33

Type: Double

The value to set for M33 of the Matrix3D.

m34

Type: Double

The value to set for M34 of the Matrix3D.

offsetX

Type: Double

The value to set for OffsetX (row 4, column 1) of the Matrix3D.

offsetY

Type: Double

The value to set for OffsetY (row 4, column 2) of the Matrix3D.

offsetZ

Type: Double

The value to set for OffsetZ (row 4, column 3) of the Matrix3D.

m44

Type: Double

The value to set for M44 of the Matrix3D.

Return value

Type: Matrix3D

The created Matrix3D.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml::Media::Media3D

Metadata

Windows.winmd

See also

Matrix3DHelper

 

 

Show:
© 2014 Microsoft