Matrix44 Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Matrix44() |
The default Matrix44 constructor will instantiate an identity matrix. |
| Matrix44(Matrix) |
Creates and returns a Matrix44 by taking the 3x3 Matrix and placing it on the 0 of the z-axis
by setting row |
| Matrix44(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
Matrix44()
The default Matrix44 constructor will instantiate an identity matrix.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=35)]
public Matrix44();
- Attributes
Remarks
The default Matrix44 constructor will instantiate an identity matrix.
Java documentation for android.graphics.Matrix44.Matrix44().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Matrix44(Matrix)
Creates and returns a Matrix44 by taking the 3x3 Matrix and placing it on the 0 of the z-axis
by setting row 2 and column 2 to the identity as seen in the following
operation:
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Matrix;)V", "", ApiSince=35)]
public Matrix44(Android.Graphics.Matrix mat);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Matrix;)V", "", ApiSince=35)>]
new Android.Graphics.Matrix44 : Android.Graphics.Matrix -> Android.Graphics.Matrix44
Parameters
- mat
- Matrix
A 3x3 Matrix to be converted (original Matrix will not be changed)
- Attributes
Remarks
Creates and returns a Matrix44 by taking the 3x3 Matrix and placing it on the 0 of the z-axis by setting row 2 and column 2 to the identity as seen in the following operation:
[ a b c ] [ a b 0 c ]
[ d e f ] -> [ d e 0 f ]
[ g h i ] [ 0 0 1 0 ]
[ g h 0 i ]
Java documentation for android.graphics.Matrix44.Matrix44(android.graphics.Matrix).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Matrix44(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected Matrix44(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Matrix44 : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Matrix44
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
The runtime calls this constructor to create a managed representation of an existing Java object.