Matrix44.Map 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.
Overloads
Map(Single, Single, Single, Single, Single[]) |
Multiplies (x, y, z, w) vector by the Matrix44, then returns the new (x, y, z, w). |
Map(Single, Single, Single, Single) |
Multiplies (x, y, z, w) vector by the Matrix44, then returns the new (x, y, z, w). |
Map(Single, Single, Single, Single, Single[])
Multiplies (x, y, z, w) vector by the Matrix44, then returns the new (x, y, z, w).
[Android.Runtime.Register("map", "(FFFF[F)V", "GetMap_FFFFarrayFHandler", ApiSince=35)]
public virtual void Map (float x, float y, float z, float w, float[] dst);
[<Android.Runtime.Register("map", "(FFFF[F)V", "GetMap_FFFFarrayFHandler", ApiSince=35)>]
abstract member Map : single * single * single * single * single[] -> unit
override this.Map : single * single * single * single * single[] -> unit
Parameters
- x
- Single
- y
- Single
- z
- Single
- w
- Single
- dst
- Single[]
- Attributes
Remarks
Multiplies (x, y, z, w) vector by the Matrix44, then returns the new (x, y, z, w). Users should set w
to 1 to indicate the coordinates are normalized.
Java documentation for android.graphics.Matrix44.map(float, float, 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
Map(Single, Single, Single, Single)
Multiplies (x, y, z, w) vector by the Matrix44, then returns the new (x, y, z, w).
[Android.Runtime.Register("map", "(FFFF)[F", "GetMap_FFFFHandler", ApiSince=35)]
public virtual float[] Map (float x, float y, float z, float w);
[<Android.Runtime.Register("map", "(FFFF)[F", "GetMap_FFFFHandler", ApiSince=35)>]
abstract member Map : single * single * single * single -> single[]
override this.Map : single * single * single * single -> single[]
Parameters
- x
- Single
- y
- Single
- z
- Single
- w
- Single
Returns
An array of length 4 that represents the x, y, z, w (where w is perspective) value after multiplying x, y, z, 1 by the matrix
- Attributes
Remarks
Multiplies (x, y, z, w) vector by the Matrix44, then returns the new (x, y, z, w). Users should set w
to 1 to indicate the coordinates are normalized.
Java documentation for android.graphics.Matrix44.map(float, 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.