Slide 33
Slide 33 text
ARCoreによるAR機能の実装
例えばPlane detection
検知委平面の設定
State Flowとして検知平面の取得
val newConfig = session.config.copy(
planeTracking =
Config.PlaneTrackingMode.HORIZONTAL_AND_VERTICAL,
)
Plane.subscribe(session).collect { planes ->
plane.type
// HORIZONTAL_DOWNWARD_FACING, VERTICAL, ...
plane.label
// CEILING, FLOOR, TABLE, ...
}