Feature Scenes
Updated: Aug 7, 2024
All feature scenes are available as samples in the Interaction SDK package.
- Go to Meta XR Interaction SDK package and add the package to your Unity project if it has not been imported already.
- After you’ve added the Samples package to your Unity assets, in the Unity editor, on the menu, go to Windows > Package Manager.
- Set the Packages filter to My Assets and then select Meta XR Interaction SDK from the list.
- On the Samples tab, click Import to download feature scenes.
- On the Project tab, expand the Assets > Samples > Meta XR Interaction SDK > VERSION > Feature Scenes folder.
The included feature scenes highlight several use cases of Interaction SDK.
The DebugGesture feature scene demonstrates a debug visual being used in conjunction with a forward swipe gesture. Perform a gesture with either hand and you can observe the nodes in the tree change from red (inactive) to green (active).
The DebugPoke feature scene demonstrates debug components that can be used for visualizing the state of a poke interaction, as well as a visualization of the tracked hand during poke limiting.
The DebugPose feature scene demonstrates a debug visual in conjunction with a thumbs up pose. Perform the pose with either hand and you can observe the nodes in the tree change from red (inactive) to green (active).
The DebugRay feature scene demonstrates debug components that can be used for visualizing the state of a Ray Interaction.
The HandGrab feature scene demonstrates a single object with several grab locations with pre-recorded hand poses to snap to.
The PokeButton feature scene demonstrates a single PokeInteractable with a pressable button visual.
The
PokeCanvas feature scene demonstrates a
Poke Interaction on a flat Unity canvas, with touch limiting.
The
RayCanvasCurved feature scene demonstrates a
Ray Interaction on a curved Unity canvas.
The
RayCanvasFlat feature scene demonstrates a
Ray Interaction on a flat Unity canvas.
The TouchHandGrab feature scene demonstrates a single physical object that can be grabbed with a dynamic grab pose.
The DebugBodyJoints feature scene demonstrates debug visualization of the body skeleton.
The DebugBodyPoseComparer feature scene demonstrates capturing and comparing a body pose at runtime, with visualization of each joint of a BodyPoseComparerActiveState.
The DebugHandGrab feature scene demonstrates debug components for hand grab poses.
The UseGrabPressure feature scene demonstrates applying pressure to objects when using controllers.