November 6, 2019 update:
  • There's a new open source Cardboard SDK for iOS and Android NDK that offers a streamlined API, improved device compatibility, and built-in viewer profile QR code scanning. A corresponding Unity package (SDK) is planned for a future release. We recommend that all developers actively building for Google Cardboard migrate (iOS, Android NDK) to the new Cardboard SDK.
October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, you can continue to use the existing Google VR SDK to update and distribute your apps to the Google Play Store, and make them available to users in the Daydream app.

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.