UGoogleARCoreAugmentedImage::UpdateTrackedGeometry

Update the tracked object.

Windows
MacOS
Linux

References

Module

GoogleARCoreBase

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreAugmentedImage.h

Include

#include "GoogleARCoreAugmentedImage.h"

Source

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Private/GoogleARCoreAugmentedImage.cpp

Syntax

void UpdateTrackedGeometry
(
    const TSharedRef< FARSupportInterface, ESPMode::ThreadSafe > & InTrackingSystem,
    uint32 FrameNumber,
    double Timestamp,
    const FTransform & InLocalToTrackingTransform,
    const FTransform & InAlignmentTransform,
    FVector2D InEstimatedSize,
    UARCandidateImage * InDetectedImage,
    int32 InImageIndex,
    const FString & ImageName
)

Remarks

Update the tracked object.

This is called by FGoogleARCoreAugmentedImageResource::UpdateGeometryData() to adjust the tracked position of the object.

Parameters

Parameter

Description

InTrackingSystem

The AR system to use.

FrameNumber

The current frame number.

Timestamp

The current time stamp.

InLocalToTrackingTransform

Local to tracking space transformation.

InAlignmentTransform

Alignment transform.

InEstimatedSize

The estimated size of the object.

InDetectedImage

The image that was found, in Unreal's cross-platform augmente reality API.

InImageIndex

Which image in the augmented image database is being tracked.

ImageName

The name of the image being tracked.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss