Matrix3f.Translate(Single, Single) 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.
Modifies the current matrix by post-multiplying it with a translation matrix of given dimensions
[Android.Runtime.Register("translate", "(FF)V", "GetTranslate_FFHandler")]
public virtual void Translate (float x, float y);
[<Android.Runtime.Register("translate", "(FF)V", "GetTranslate_FFHandler")>]
abstract member Translate : single * single -> unit
override this.Translate : single * single -> unit
Parameters
- x
- Single
translation component x
- y
- Single
translation component y
- Attributes
Remarks
Modifies the current matrix by post-multiplying it with a translation matrix of given dimensions
Java documentation for android.renderscript.Matrix3f.translate(float, float)
.
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.