UGoogleARCorePointCloud

#include <GoogleARCoreTypes.h>

A UObject that contains a set of observed 3D points and confidence values.

Summary

Inheritance

Inherits from: UObject

Constructors and Destructors

~UGoogleARCorePointCloud()
Destructor.

Public functions

GetPoint(int Index, FVector & OutWorldPosition, float & OutConfidence)
void
Returns the point position in Unreal world space and it's confidence value from 0 ~ 1.
GetPointId(int Index)
int
Returns the point Id of the point at the given index.
GetPointInTrackingSpace(int Index, FVector & OutTrackingSpaceLocation, float & OutConfidence)
void
Returns the point position in Unreal AR Tracking space.
GetPointNum()
int
Returns the number of point inside this point cloud.
GetUpdateTimestamp()
int64
Returns the timestamp in nanosecond when this point cloud was observed.
IsUpdated()
bool
Checks if this point cloud has been updated in this frame.
ReleasePointCloud()
void
Release PointCloud's resources back to ArCore.

Public functions

GetPoint

void GetPoint(
  int Index,
  FVector & OutWorldPosition,
  float & OutConfidence
)

Returns the point position in Unreal world space and it's confidence value from 0 ~ 1.

GetPointId

int GetPointId(
  int Index
)

Returns the point Id of the point at the given index.

Each point has a unique identifier (within a session) that is persistent across frames. That is, if a point from point cloud 1 has the same id as the point from point cloud 2, then it represents the same point in space.

GetPointInTrackingSpace

void GetPointInTrackingSpace(
  int Index,
  FVector & OutTrackingSpaceLocation,
  float & OutConfidence
)

Returns the point position in Unreal AR Tracking space.

GetPointNum

int GetPointNum()

Returns the number of point inside this point cloud.

GetUpdateTimestamp

int64 GetUpdateTimestamp()

Returns the timestamp in nanosecond when this point cloud was observed.

IsUpdated

bool IsUpdated()

Checks if this point cloud has been updated in this frame.

ReleasePointCloud

void ReleasePointCloud()

Release PointCloud's resources back to ArCore.

Data will not be available after releasePointCloud is called.

~UGoogleARCorePointCloud

 ~UGoogleARCorePointCloud()

Destructor.

Send feedback about...