コード例 #1
0
ファイル: ARK_ARKit.cs プロジェクト: RBSpooklight/ARK
        protected override bool TryGetUnscaledPose(ref Pose pose)
        {
            Matrix4x4 matrix = NativeInterface.GetCameraPose();

            pose.position = UnityARMatrixOps.GetPosition(matrix);
            pose.rotation = UnityARMatrixOps.GetRotation(matrix);

            return(true);
        }