Package-level declarations

Types

Link copied to clipboard
open class AnchorNode(engine: Engine, anchor: Anchor, var onTrackingStateChanged: (TrackingState) -> Unit? = null, var onPoseChanged: (Pose) -> Unit? = null, var onAnchorChanged: (Anchor) -> Unit? = null, var onUpdated: (Anchor) -> Unit? = null) : PoseNode

Construct a new AR placement Node

Link copied to clipboard
open class ARCameraNode(engine: Engine) : CameraNode

Represents a virtual camera, which determines the perspective through which the scene is viewed.

Link copied to clipboard
open class AugmentedFaceNode(engine: Engine, val augmentedFace: AugmentedFace, meshMaterialInstance: MaterialInstance? = null, builder: RenderableManager.Builder.() -> Unit = {}, onTrackingStateChanged: (TrackingState) -> Unit? = null, onUpdated: (AugmentedFace) -> Unit? = null) : TrackableNode<AugmentedFace>

AR Augmented Face positioned 3D model node

Link copied to clipboard
open class AugmentedImageNode(engine: Engine, val augmentedImage: AugmentedImage, var applyImageScale: Boolean = false, val visibleTrackingMethods: Set<AugmentedImage.TrackingMethod> = setOf( TrackingMethod.FULL_TRACKING, TrackingMethod.LAST_KNOWN_POSE ), onTrackingStateChanged: (TrackingState) -> Unit? = null, val onTrackingMethodChanged: (AugmentedImage.TrackingMethod) -> Unit? = null, onUpdated: (AugmentedImage) -> Unit? = null) : TrackableNode<AugmentedImage>

AR Augmented Image positioned 3D model node

Link copied to clipboard
open class CloudAnchorNode(engine: Engine, anchor: Anchor, cloudAnchorId: String? = null, var onTrackingStateChanged: (TrackingState) -> Unit? = null, var onUpdated: (Anchor?) -> Unit? = null, var onHosted: (cloudAnchorId: String?, state: Anchor.CloudAnchorState) -> Unit? = null) : AnchorNode
Link copied to clipboard
open class HitResultNode(engine: Engine, val hitTest: HitResultNode.(Frame) -> HitResult?) : TrackableNode<Trackable>

AR real time AR HitTest positioned node.

Link copied to clipboard
open class PoseNode(engine: Engine, pose: Pose = Pose.IDENTITY, var moveHitTest: PoseNode.(Frame, MotionEvent) -> HitResult? = { frame, motionEvent -> frame.hitTest(motionEvent).firstOrNull()?.takeIf { it.trackable.isTracking } }, var onPoseChanged: (Pose) -> Unit? = null) : Node

Construct a new ARCore node

Link copied to clipboard
Link copied to clipboard
open class StreetscapeGeometryNode(engine: Engine, val streetscapeGeometry: StreetscapeGeometry, meshMaterialInstance: MaterialInstance? = null, builder: RenderableManager.Builder.() -> Unit = {}, onTrackingStateChanged: (TrackingState) -> Unit? = null, onUpdated: (StreetscapeGeometry) -> Unit? = null) : TrackableNode<StreetscapeGeometry>

Defines geometry such as terrain, buildings, or other structures obtained from the Streetscape Geometry API. See the Streetscape Geometry Developer Guide for additional information.

Link copied to clipboard
Link copied to clipboard
open class TrackableNode<T : Trackable>(engine: Engine, val visibleTrackingStates: Set<TrackingState> = setOf(TrackingState.TRACKING), var onTrackingStateChanged: (TrackingState) -> Unit? = null, var onUpdated: (T) -> Unit? = null) : PoseNode

AR Trackable positioned node.