Skip to content

Commit fa1e9ab

Browse files
committed
DOCATT-8754: Post tech-review updates
- Fixed some links, clarified isTracked return in TrackedDevice.cs - Added related XR packages to `xref` list in projectMetadata.json
1 parent 98caedb commit fa1e9ab

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"hideGlobalNamespace": true
2+
"hideGlobalNamespace": true,
3+
"xref": [
4+
"com.unity.xr.openxr",
5+
"com.unity.xr.interaction.toolkit"
6+
]
37
}

Packages/com.unity.inputsystem/InputSystem/Devices/TrackedDevice.cs

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace UnityEngine.InputSystem
1212
/// [Tracked Pose Driver](xref:input-system-tracked-input-devices#tracked-pose-driver)
1313
/// component rather than being read directly from this class.
1414
///
15-
/// Refer to the [Starter Assets](https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@latest/index.html?subfolder=/manual/samples-spatial-keyboard.html)
15+
/// Refer to the [Starter Assets](xref:xri-samples-starter-assets)
1616
/// sample in the XR Interaction Toolkit package for a Demo Scene with an XR rig
1717
/// hierarchy that uses these concepts.
1818
/// </remarks>
@@ -37,15 +37,11 @@ public class TrackedDevice : InputDevice
3737
public IntegerControl trackingState { get; protected set; }
3838

3939
/// <summary>
40-
/// Indicates whether the input device is actively tracked or not.
40+
/// Indicates whether the input device is actively tracked (1) or not (0).
4141
/// </summary>
4242
/// <remarks>
43-
/// This property can contain a simple bit (1 or 0), but for some Open XR devices, this might
44-
/// contain a float that includes bits that can indicate whether the device's position is actual
45-
/// or inferred from its last-known [pose](xref:openxr-input#pose-data) (OpenXR Plugin package).
46-
///
47-
/// For more information about how the float represents inferred position vs. actual position in
48-
/// OpenXR devices, refer to [Reference Spaces](https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#reference-spaces)
43+
/// For more information about how OpenXR represents inferred position vs. actual position, refer to
44+
/// [Reference Spaces](https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html#spaces-reference-spaces)
4945
/// (OpenXR Specification).
5046
/// </remarks>
5147
[InputControl(synthetic = true)]
@@ -58,7 +54,7 @@ public class TrackedDevice : InputDevice
5854
/// </summary>
5955
/// <remarks>
6056
/// For more information about how OpenXR represents the grip pose, refer to
61-
/// [Standard pose identifiers](https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#semantic-path-standard-identifiers)
57+
/// [Standard pose identifiers](https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html#semantic-paths-standard-identifiers)
6258
/// (OpenXR Specification).
6359
///
6460
/// > [!NOTE]
@@ -77,7 +73,7 @@ public class TrackedDevice : InputDevice
7773
/// </summary>
7874
/// <remarks>
7975
/// For more information about how OpenXR represents the grip pose, refer to
80-
/// [Standard pose identifiers](https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#semantic-path-standard-identifiers)
76+
/// [Standard pose identifiers](https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html#semantic-paths-standard-identifiers)
8177
/// (OpenXR Specification).
8278
///
8379
/// > [!NOTE]

0 commit comments

Comments
 (0)