private void Start() { poseInfo = new TrackingPoseInfo(); poseInfo.Position_Left = new float[3]; poseInfo.Rotation_Left = new float[4]; poseInfo.Position_Right = new float[3]; poseInfo.Rotation_Right = new float[4]; }
public static int GetControllerTrackingPose(ref TrackingPoseInfo poseInfo) { int result = SRWorkModule_API.GetControllerTrackingPose(ref poseInfo); return(result); }