All feature scenes are available as samples in the Interaction SDK package.
Import Samples
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 Window > 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.
Feature Scenes
The included feature scenes highlight several use cases of Interaction SDK.
DebugGesture
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).
DebugPoke
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.
DebugPose
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).
DebugRay
The DebugRay feature scene demonstrates debug components that can be used for visualizing the state of a Ray Interaction.
HandGrab
The HandGrab feature scene demonstrates a single object with several grab locations with pre-recorded hand poses to snap to.
PokeButton
The PokeButton feature scene demonstrates a single PokeInteractable with a pressable button visual.
PokeCanvas
The PokeCanvas feature scene demonstrates a Poke Interaction on a flat Unity canvas, with touch limiting.
RayCanvasCurved
The RayCanvasCurved feature scene demonstrates a Ray Interaction on a curved Unity canvas.
RayCanvasFlat
The RayCanvasFlat feature scene demonstrates a Ray Interaction on a flat Unity canvas.
TouchHandGrab
The TouchHandGrab feature scene demonstrates a single physical object that can be grabbed with a dynamic grab pose.
DebugBodyJoints
The DebugBodyJoints feature scene demonstrates debug visualization of the body skeleton.
DebugBodyPoseComparer
The DebugBodyPoseComparer feature scene demonstrates capturing and comparing a body pose at runtime, with visualization of each joint of a BodyPoseComparerActiveState.
DebugHandGrab
The DebugHandGrab feature scene demonstrates debug components for hand grab poses.
UseGrabPressure
The UseGrabPressure feature scene demonstrates applying pressure to objects when using controllers.