This site has been archived and remains strictly as a historical reference for developers who actively maintain apps built using the legacy Google VR SDK, which was last updated in 2019 and is no longer receiving updates.
  • All developers actively developing experiences for Google Cardboard should use the new open source Cardboard SDKs for iOS, Android NDK, and Unity XR Plugin. These new SDKs offer streamlined APIs, improved device compatibility, and built-in viewer profile QR code scanning.
  • The Daydream View VR headset is no longer available for purchase as of October 15, 2019. Existing apps on supported devices are unaffected for users who previously installed those applications. It is no longer possible to opt-in to Daydream distribution via Google Play.
Stay organized with collections Save and categorize content based on your preferences.

MutablePose3D

Mutable version of Pose3D.

Summary

Inheritance

Inherits from: Pose3D

Public functions

Set(Vector3 position, Quaternion orientation)
new void
Sets the position and orientation from a Vector3 + Quaternion.
Set(Matrix4x4 matrix)
new void
Sets the position and orientation from a Matrix4x4.
SetRightHanded(Matrix4x4 matrix)
void
Sets the position and orientation from a right-handed Matrix4x4.

Public functions

Set

new void Set(
  Vector3 position,
  Quaternion orientation
)

Sets the position and orientation from a Vector3 + Quaternion.

Details
Parameters
position
The position to set.
orientation
The orientation to set.

Set

new void Set(
  Matrix4x4 matrix
)

Sets the position and orientation from a Matrix4x4.

Details
Parameters
matrix
The matrix to set.

SetRightHanded

void SetRightHanded(
  Matrix4x4 matrix
)

Sets the position and orientation from a right-handed Matrix4x4.

Details
Parameters
matrix
The right-handed matrix to set.