Skip to content

Commit c365b71

Browse files
author
David Kline
authored
Merge pull request #2704 from StephenHodgson/vNEXT-PoseToString
Added Mixed Reality Pose to string override
2 parents c7f6285 + d7ac1b2 commit c365b71

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Assets/MixedRealityToolkit/_Core/Definitions/Utilities/MixedRealityPose.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ public MixedRealityPose(Quaternion rotation)
7474
return !left.Equals(right);
7575
}
7676

77+
public override string ToString()
78+
{
79+
return $"{position} | {rotation}";
80+
}
81+
7782
#region IEqualityComparer Implementation
7883

7984
bool IEqualityComparer.Equals(object left, object right)

0 commit comments

Comments
 (0)