Auki::ConjureKit::Domains::PoseInDomain
Represents a saved Pose within a domain.
Inherits from Auki.ConjureKit.Domains.IDeviceInfo, Auki.ConjureKit.Domains.IGPSInfo
Public Functions
Name | |
---|---|
bool | IsIdentity() Checks if the pose is an identity pose. |
void | UpdatePose(Vector3 position, Quaternion rotation, Action onSuccess, Action< string > onFailure) Updates the pose of the associated object with the specified position and rotation. |
void | GetDomain(Action< Domain > onSuccess, Action< string > onFailure) Retrieves information about the associated domain. |
void | GetLighthouse(Action< StaticLighthouse > onSuccess, Action< string > onFailure) Retrieves information about the associated lighthouse. |
Public Properties
Name | |
---|---|
string | LighthouseId Id of the Lighthouse being placed. |
string | DomainId Id of the Domain in which Lighthouse was placed. |
DateTime | PlacedAt Gets the timestamp when the lighthouse was placed. |
Vector3 | Position Position in Unity convention. |
Quaternion | Rotation Rotation in Unity convention. |
string | DeviceId Gets the unique identifier of the device. |
string | DeviceModel Gets the model of the device. |
string | DeviceName Gets the name of the device. |
float | Latitude Gets the latitude coordinate of the lighthouse. |
float | Longitude Gets the longitude coordinate of the lighthouse. |
float | Altitude Gets the altitude of the lighthouse. |
float | VerticalAccuracy Gets the vertical accuracy of the GPS coordinates. |
float | HorizontalAccuracy Gets the horizontal accuracy of the GPS coordinates. |
float | GPSTimestamp Gets the GPS timestamp associated with the data. |
Public Functions Documentation
function IsIdentity
bool IsIdentity()
Checks if the pose is an identity pose.
Return: True if identity, false otherwise.
function UpdatePose
void UpdatePose(
Vector3 position,
Quaternion rotation,
Action onSuccess,
Action< string > onFailure
)
Updates the pose of the associated object with the specified position and rotation.
Parameters:
- position The new position for the object.
- rotation The new rotation for the object.
- onSuccess Callback for a successful request.
- onFailure Callback for a failed request, providing an error message.
function GetDomain
void GetDomain(
Action< Domain > onSuccess,
Action< string > onFailure
)
Retrieves information about the associated domain.
Parameters:
- onSuccess Callback for a successful request, providing information about the associated domain.
- onFailure Callback for a failed request, providing an error message.
function GetLighthouse
void GetLighthouse(
Action< StaticLighthouse > onSuccess,
Action< string > onFailure
)
Retrieves information about the associated lighthouse.
Parameters:
- onSuccess Callback for a successful request, providing information about the associated lighthouse.
- onFailure Callback for a failed request, providing an error message.
Public Property Documentation
property LighthouseId
string LighthouseId;
Id of the Lighthouse being placed.
property DomainId
string DomainId;
Id of the Domain in which Lighthouse was placed.
property PlacedAt
DateTime PlacedAt;
Gets the timestamp when the lighthouse was placed.
property Position
Vector3 Position;
Position in Unity convention.
property Rotation
Quaternion Rotation;
Rotation in Unity convention.
property DeviceId
string DeviceId;
Gets the unique identifier of the device.
Reimplements: Auki::ConjureKit::Domains::IDeviceInfo::DeviceId
property DeviceModel
string DeviceModel;
Gets the model of the device.
Reimplements: Auki::ConjureKit::Domains::IDeviceInfo::DeviceModel
property DeviceName
string DeviceName;
Gets the name of the device.
Reimplements: Auki::ConjureKit::Domains::IDeviceInfo::DeviceName
property Latitude
float Latitude;
Gets the latitude coordinate of the lighthouse.
Reimplements: Auki::ConjureKit::Domains::IGPSInfo::Latitude
property Longitude
float Longitude;
Gets the longitude coordinate of the lighthouse.
Reimplements: Auki::ConjureKit::Domains::IGPSInfo::Longitude
property Altitude
float Altitude;
Gets the altitude of the lighthouse.
Reimplements: Auki::ConjureKit::Domains::IGPSInfo::Altitude
property VerticalAccuracy
float VerticalAccuracy;
Gets the vertical accuracy of the GPS coordinates.
Reimplements: Auki::ConjureKit::Domains::IGPSInfo::VerticalAccuracy
property HorizontalAccuracy
float HorizontalAccuracy;
Gets the horizontal accuracy of the GPS coordinates.
Reimplements: Auki::ConjureKit::Domains::IGPSInfo::HorizontalAccuracy
property GPSTimestamp
float GPSTimestamp;
Gets the GPS timestamp associated with the data.
Reimplements: Auki::ConjureKit::Domains::IGPSInfo::GPSTimestamp