语言

Matrix2f 构造函数

定义

重载

名称 说明
Matrix2f()

创建新的标识 2x2 矩阵

Matrix2f(Single[])

创建新矩阵并从给定参数设置其值

Matrix2f(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

Matrix2f()

创建新的标识 2x2 矩阵

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

注解

创建新的标识 2x2 矩阵

Java文档android.renderscript.Matrix2f.Matrix2f()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Matrix2f(Single[])

创建新矩阵并从给定参数设置其值

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

参数

dataArray
Single[]

要设置矩阵的值,必须为 4 个浮点长

特性

注解

创建新矩阵并从给定参数设置其值

Java文档android.renderscript.Matrix2f.Matrix2f(float[])。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Matrix2f(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于