共用方式為


Shader.GetLocalMatrix(Matrix) 方法

定義

如果著色器具有非身分識別本機矩陣,則傳回 true。

[Android.Runtime.Register("getLocalMatrix", "(Landroid/graphics/Matrix;)Z", "GetGetLocalMatrix_Landroid_graphics_Matrix_Handler")]
public virtual bool GetLocalMatrix(Android.Graphics.Matrix localM);
[<Android.Runtime.Register("getLocalMatrix", "(Landroid/graphics/Matrix;)Z", "GetGetLocalMatrix_Landroid_graphics_Matrix_Handler")>]
abstract member GetLocalMatrix : Android.Graphics.Matrix -> bool
override this.GetLocalMatrix : Android.Graphics.Matrix -> bool

參數

localM
Matrix

如果著色器的矩陣不是 Null,請將 設定為著色器的本機矩陣。

傳回

如果著色器具有非身分識別本機矩陣,則為 true

屬性

備註

如果著色器具有非身分識別本機矩陣,則傳回 true。

android.graphics.Shader.getLocalMatrix(android.graphics.Matrix)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於