共用方式為


Matrix4f Constructors

Definition

Overloads

Matrix4f()

Creates a new identity 4x4 matrix

Matrix4f(Single[])

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

Matrix4f(IntPtr, JniHandleOwnership)

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

Matrix4f()

Creates a new identity 4x4 matrix

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

Remarks

Creates a new identity 4x4 matrix

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

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

Matrix4f(Single[])

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

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

Parameters

dataArray
Single[]

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

Attributes

Remarks

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

Java documentation for android.renderscript.Matrix4f.Matrix4f(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

Matrix4f(IntPtr, JniHandleOwnership)

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

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

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