語言

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

若著色器的矩陣非空,則設為著色器的局部矩陣。

傳回

若著色器具有非單位的局部矩陣,則為真

屬性

備註

如果著色器有非單位的局部矩陣,則回傳 true。

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

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

適用於