GoogleARCore.PointCloudPoint

A point in a point cloud.

Summary

Constructors and Destructors

PointCloudPoint(int id, Vector3 position, float confidence)
Constructs a new PointCloudPoint.

Public attributes

InvalidPointId = -1
const int
A number that represents an invalid point id.

Properties

Confidence
float
Gets a normalized confidence value for the point.
Id
int
Gets a number that identifies the point within a point cloud and ARCore session.
Position
Vector3
Gets the position of the point in world space.

Public static functions

operator Vector3(PointCloudPoint point)
implicit
Implicitly converts a PointCloudPoint to a Vector3 that represents its position.

Public attributes

InvalidPointId

const int GoogleARCore::PointCloudPoint::InvalidPointId = -1

A number that represents an invalid point id.

Properties

Confidence

float GoogleARCore::PointCloudPoint::Confidence

Gets a normalized confidence value for the point.

Id

int GoogleARCore::PointCloudPoint::Id

Gets a number that identifies the point within a point cloud and ARCore session.

This value is guarenteed to be unique if the ARCore session has been running for less than 24 hours.

A number that identifies the point within a point cloud and ARCore session.

Position

Vector3 GoogleARCore::PointCloudPoint::Position

Gets the position of the point in world space.

Public functions

PointCloudPoint

 GoogleARCore::PointCloudPoint::PointCloudPoint(
  int id,
  Vector3 position,
  float confidence
)

Constructs a new PointCloudPoint.

Details
Parameters
id
The id of the point within the session.
position
The position of the point in world space.
confidence
The normalized confidence of the point.

Public static functions

operator Vector3

implicit GoogleARCore::PointCloudPoint::operator Vector3(
  PointCloudPoint point
)

Implicitly converts a PointCloudPoint to a Vector3 that represents its position.

Details
Parameters
point
The point to convert.

Send feedback about...