UGoogleARCoreAugmentedImage
#include <GoogleARCoreAugmentedImage.h>
An object representing an augmented image currently in the scene.
Summary
Inheritance
Inherits from: UARTrackedImage
Public functions |
|
---|---|
DebugDraw(UWorld *World, const FLinearColor & OutlineColor, float OutlineThickness, float PersistForSeconds) const override
|
virtual void
Draw a box around the image, for debugging purposes.
|
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, FVector2D InEstimatedSize, UARCandidateImage *InDetectedImage, int32 InImageIndex, const FString & ImageName)
|
void
Update the tracked object.
|
Public functions
DebugDraw
virtual void DebugDraw( UWorld *World, const FLinearColor & OutlineColor, float OutlineThickness, float PersistForSeconds ) const override
Draw a box around the image, for debugging purposes.
Details | |||||||||
---|---|---|---|---|---|---|---|---|---|
Parameters |
|
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, FVector2D InEstimatedSize, UARCandidateImage *InDetectedImage, int32 InImageIndex, const FString & ImageName )
Update the tracked object.
This is called by FGoogleARCoreAugmentedImageResource::UpdateGeometryData() to adjust the tracked position of the object.
Details | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|