XRGeospatialPoseResult
Represents the result when converting a pose in Unity world space into XRGeospatialPose.
Summary
Inheritance
Inherits from:IEquatable< XRGeospatialPoseResult >
Public attributes |
|
|---|---|
HorizontalAccuracy
|
double
The estimated horizontal accuracy of the Geospatial pose position, defined as the radius in meters of the circle of 68% confidence level around the given latitude and longitude.
|
IsPositionValid =>
LocationFlags.HasFlag(XrSpaceLocationFlags.PositionValid)
|
bool
Gets a value indicating whether the position is valid.
|
IsRotationValid =>
LocationFlags.HasFlag(XrSpaceLocationFlags.OrientationValid) &&
OrientationYawAccuracy > 0
|
bool
Gets a value indicating whether the rotation is valid.
|
LocationFlags
|
XrSpaceLocationFlags
Indicates the valid fields of the result.
|
OrientationYawAccuracy
|
double
The estimated yaw accuracy of the Geospatial pose orientation, defined as the radius in degrees of 68% confidence level around the given orientation.
|
Pose
|
The geospatial pose converted from the given Unity pose.
|
VerticalAccuracy
|
double
The estimated vertical accuracy of the Geospatial pose position, defined as the distance in meters of 68% confidence level around the given altitude.
|
Public functions |
|
|---|---|
Equals(XRGeospatialPoseResult other)
|
bool
|
Public attributes
HorizontalAccuracy
double Google::XR::Extensions::XRGeospatialPoseResult::HorizontalAccuracy
The estimated horizontal accuracy of the Geospatial pose position, defined as the radius in meters of the circle of 68% confidence level around the given latitude and longitude.
IsPositionValid
bool Google::XR::Extensions::XRGeospatialPoseResult::IsPositionValid => LocationFlags.HasFlag(XrSpaceLocationFlags.PositionValid)
Gets a value indicating whether the position is valid.
| Details | |
|---|---|
| Returns |
True if valid.
|
IsRotationValid
bool Google::XR::Extensions::XRGeospatialPoseResult::IsRotationValid => LocationFlags.HasFlag(XrSpaceLocationFlags.OrientationValid) && OrientationYawAccuracy > 0
Gets a value indicating whether the rotation is valid.
| Details | |
|---|---|
| Returns |
True if valid.
|
LocationFlags
XrSpaceLocationFlags Google::XR::Extensions::XRGeospatialPoseResult::LocationFlags
Indicates the valid fields of the result.
XRGeospatialPose.Rotation and OrientationYawAccuracy are valid When XrSpaceLocationFlags.OrientationValid is set. Other fields are determined by XrSpaceLocationFlags.PositionValid.
OrientationYawAccuracy
double Google::XR::Extensions::XRGeospatialPoseResult::OrientationYawAccuracy
The estimated yaw accuracy of the Geospatial pose orientation, defined as the radius in degrees of 68% confidence level around the given orientation.
In other words, there is a 68% chance that the true orientation yaw angle is within this many degrees of the given yaw angle.
Pose
XRGeospatialPose Google::XR::Extensions::XRGeospatialPoseResult::Pose
The geospatial pose converted from the given Unity pose.
VerticalAccuracy
double Google::XR::Extensions::XRGeospatialPoseResult::VerticalAccuracy
The estimated vertical accuracy of the Geospatial pose position, defined as the distance in meters of 68% confidence level around the given altitude.
In other words, there is a 68% chance that the true altitude is in range [Altitude - VerticalAccuracy, Altitude + VerticalAccuracy].