@@ -11,7 +11,6 @@ import io.github.sceneview.ar.ArSceneLifecycleObserver
1111import io.github.sceneview.ar.ArSceneView
1212import io.github.sceneview.ar.arcore.*
1313import io.github.sceneview.node.ModelNode
14- import io.github.sceneview.node.Node
1514
1615open class ArNode () : ModelNode(), ArSceneLifecycleObserver {
1716
@@ -125,7 +124,7 @@ open class ArNode() : ModelNode(), ArSceneLifecycleObserver {
125124
126125 var onPoseChanged: ((node: ArNode , pose: Pose ? ) -> Unit )? = null
127126
128- var onAnchorChanged: ((node: Node , anchor: Anchor ? ) -> Unit )? = null
127+ var onAnchorChanged: ((node: ArNode , anchor: Anchor ? ) -> Unit )? = null
129128
130129 private var onCloudAnchorTaskCompleted: ((anchor: Anchor , success: Boolean ) -> Unit )? = null
131130
@@ -264,7 +263,6 @@ open class ArNode() : ModelNode(), ArSceneLifecycleObserver {
264263 return anchor != null
265264 }
266265
267-
268266 /* *
269267 * ### Anchor this node to make it fixed at the actual position and orientation is the world
270268 *
@@ -440,6 +438,8 @@ open class ArNode() : ModelNode(), ArSceneLifecycleObserver {
440438/* *
441439 * # How an object is placed on the real world
442440 *
441+ * @param instantPlacementDistance Distance in meters at which to create an InstantPlacementPoint.
442+ * This is only used while the tracking method for the returned point is InstantPlacementPoint.
443443 * @param instantPlacementFallback Fallback to instantly place nodes at a fixed orientation and an
444444 * approximate distance when the base placement type is not available yet or at all.
445445 */
0 commit comments