Shader.SetLocalMatrix(Matrix) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the shader's local 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
Parameters
- localM
- Matrix
The shader's new local matrix, or null to specify identity
- Attributes
Remarks
Set the shader's local matrix. Passing null will reset the shader's matrix to identity. If the matrix has scale value as 0, the drawing result is undefined.
Java documentation for android.graphics.Shader.setLocalMatrix(android.graphics.Matrix)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.