SetPose() public method

Sets the pose on this component. Future Tango pose updates will move relative to this pose.
public SetPose ( Vector3 pos, Quaternion quat ) : void
pos Vector3 New position.
quat Quaternion New rotation.
return void
 /// <summary>
 /// Unity 2D GUI.
 /// </summary>
 public void OnGUI()
 {
     if (GUI.Button(new Rect(Screen.width - 200, 50, 150, 80), "Reset Position"))
     {
         poseController.transform.position = Vector3.zero;
         poseController.SetPose(Vector3.zero, poseController.transform.rotation);
     }
 }