Compartir a través de


Matrix.ScaleM Method

Definition

Overloads

ScaleM(Single[], Int32, Single, Single, Single)

Scales matrix m in place by sx, sy, and sz.

ScaleM(Single[], Int32, Single[], Int32, Single, Single, Single)

Scales matrix m by x, y, and z, putting the result in sm.

ScaleM(Single[], Int32, Single, Single, Single)

Scales matrix m in place by sx, sy, and sz.

[Android.Runtime.Register("scaleM", "([FIFFF)V", "")]
public static void ScaleM (float[]? m, int mOffset, float x, float y, float z);
[<Android.Runtime.Register("scaleM", "([FIFFF)V", "")>]
static member ScaleM : single[] * int * single * single * single -> unit

Parameters

m
Single[]

matrix to scale

mOffset
Int32

index into m where the matrix starts

x
Single

scale factor x

y
Single

scale factor y

z
Single

scale factor z

Attributes

Remarks

Scales matrix m in place by sx, sy, and sz.

Java documentation for android.opengl.Matrix.scaleM(float[], int, float, 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.

Applies to

ScaleM(Single[], Int32, Single[], Int32, Single, Single, Single)

Scales matrix m by x, y, and z, putting the result in sm.

[Android.Runtime.Register("scaleM", "([FI[FIFFF)V", "")]
public static void ScaleM (float[]? sm, int smOffset, float[]? m, int mOffset, float x, float y, float z);
[<Android.Runtime.Register("scaleM", "([FI[FIFFF)V", "")>]
static member ScaleM : single[] * int * single[] * int * single * single * single -> unit

Parameters

sm
Single[]

returns the result

smOffset
Int32

index into sm where the result matrix starts

m
Single[]

source matrix

mOffset
Int32

index into m where the source matrix starts

x
Single

scale factor x

y
Single

scale factor y

z
Single

scale factor z

Attributes

Remarks

Scales matrix m by x, y, and z, putting the result in sm.

m and sm must not overlap.

Java documentation for android.opengl.Matrix.scaleM(float[], int, float[], int, float, 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.

Applies to