Udostępnij za pośrednictwem


Matrix2f Constructors

Definition

Overloads

Matrix2f()

Creates a new identity 2x2 matrix

Matrix2f(Single[])

Creates a new matrix and sets its values from the given parameter

Matrix2f(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Matrix2f()

Creates a new identity 2x2 matrix

[Android.Runtime.Register(".ctor", "()V", "")]
public Matrix2f ();
Attributes

Remarks

Creates a new identity 2x2 matrix

Java documentation for android.renderscript.Matrix2f.Matrix2f().

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

Matrix2f(Single[])

Creates a new matrix and sets its values from the given parameter

[Android.Runtime.Register(".ctor", "([F)V", "")]
public Matrix2f (float[]? dataArray);
[<Android.Runtime.Register(".ctor", "([F)V", "")>]
new Android.Renderscripts.Matrix2f : single[] -> Android.Renderscripts.Matrix2f

Parameters

dataArray
Single[]

values to set the matrix to, must be 4 floats long

Attributes

Remarks

Creates a new matrix and sets its values from the given parameter

Java documentation for android.renderscript.Matrix2f.Matrix2f(float[]).

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

Matrix2f(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Matrix2f (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Renderscripts.Matrix2f : nativeint * Android.Runtime.JniHandleOwnership -> Android.Renderscripts.Matrix2f

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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