語言

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 會將著色器的矩陣重置為 id。 若矩陣的縮放值為 0,繪圖結果為未定義。

Java 文件 android.graphics.Shader.setLocalMatrix(android.graphics.Matrix)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於