共用方式為


Shader.SetLocalMatrix(Matrix) 方法

定義

設定著色器的本機矩陣。

[Android.Runtime.Register("setLocalMatrix", "(Landroid/graphics/Matrix;)V", "GetSetLocalMatrix_Landroid_graphics_Matrix_Handler")]
public virtual void SetLocalMatrix (Android.Graphics.Matrix? localM);
[<Android.Runtime.Register("setLocalMatrix", "(Landroid/graphics/Matrix;)V", "GetSetLocalMatrix_Landroid_graphics_Matrix_Handler")>]
abstract member SetLocalMatrix : Android.Graphics.Matrix -> unit
override this.SetLocalMatrix : Android.Graphics.Matrix -> unit

參數

localM
Matrix

著色器的新本機矩陣,或 Null 來指定身分識別

屬性

備註

設定著色器的本機矩陣。 傳遞 Null 會將著色器的矩陣重設為身分識別。 如果矩陣的尺規值為0,繪製結果會未定義。

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

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

適用於