SensorManager.GetRotationMatrixFromVector(Single[], Single[]) Method

Definition

Helper function to convert a rotation vector to a rotation matrix.

[Android.Runtime.Register("getRotationMatrixFromVector", "([F[F)V", "")]
public static void GetRotationMatrixFromVector (float[]? R, float[]? rotationVector);
[<Android.Runtime.Register("getRotationMatrixFromVector", "([F[F)V", "")>]
static member GetRotationMatrixFromVector : single[] * single[] -> unit

Parameters

R
Single[]

an array of floats in which to store the rotation matrix

rotationVector
Single[]

the rotation vector to convert

Attributes

Remarks

Java documentation for android.hardware.SensorManager.getRotationMatrixFromVector(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