1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ARKitのトラッキング状態を保存、ロードして再開する

Last updated at Posted at 2020-09-25

1、ワールドマップを保存

sceneView.session.getCurrentWorldMap { [self] worldMap, error in
    self.sceneView.session.pause()
    self.map = worldMap
}

75ae3206-121a-47ed-9464-af0f322443cc.png

2、保存したワールドマップ構成でセッション再開

let configuration = ARWorldTrackingConfiguration()
configuration.initialWorldMap = map
sceneView.session.run(configuration, options: [])

Core MLを使ったアプリを作っています。
機械学習関連の情報を発信しています。

お仕事のご依頼は
rockyshikoku@gmail.com
まで

Twitter
[MLBoysチャンネル]
(https://www.youtube.com/channel/UCbHff-wfjTnB3rtXIP6y0xg)
Medium

相棒
note

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?