UGoogleARCoreAugmentedImage

#include <GoogleARCoreAugmentedImage.h>

An object representing an augmented image currently in the scene.

Summary

Inheritance

Inherits from: UARTrackedGeometry

Public functions

DebugDraw(UWorld *World, const FLinearColor & OutlineColor, float OutlineThickness, float PersistForSeconds) const override
virtual void
GetCenter() const
FVector
Get the center in local space of the augmented image.
GetExtent() const
FVector
Get the size in local space of the augmented image.
GetImageIndex() const
int32
Get the index of an augmented image in the augmented image database.
GetImageName() const
FString
Get the name of an augmented image in the augmented image database.
UpdateTrackedGeometry(const TSharedRef< FARSystemBase, ESPMode::ThreadSafe > & InTrackingSystem, uint32 FrameNumber, double Timestamp, const FTransform & InLocalToTrackingTransform, const FTransform & InAlignmentTransform, const FVector & InCenter, const FVector & InExtent, int32 InImageIndex, const FString & ImageName)
void

Public functions

DebugDraw

virtual void DebugDraw(
  UWorld *World,
  const FLinearColor & OutlineColor,
  float OutlineThickness,
  float PersistForSeconds
) const override

GetCenter

FVector GetCenter() const 

Get the center in local space of the augmented image.

Details
Returns
The center in the augmented image's local coordinate space.

GetExtent

FVector GetExtent() const 

Get the size in local space of the augmented image.

Details
Returns
The size in the augmented image's local coordinate space.

GetImageIndex

int32 GetImageIndex() const 

Get the index of an augmented image in the augmented image database.

Details
Returns
An integer indicating the index into the Entries array in the UGoogleARCoreAugmentedImageDatabase.

GetImageName

FString GetImageName() const 

Get the name of an augmented image in the augmented image database.

Details
Returns
The name of the image in the image database.

UpdateTrackedGeometry

void UpdateTrackedGeometry(
  const TSharedRef< FARSystemBase, ESPMode::ThreadSafe > & InTrackingSystem,
  uint32 FrameNumber,
  double Timestamp,
  const FTransform & InLocalToTrackingTransform,
  const FTransform & InAlignmentTransform,
  const FVector & InCenter,
  const FVector & InExtent,
  int32 InImageIndex,
  const FString & ImageName
)

Send feedback about...