Interaction SDK panels add touch limiting support to an entity, and are best used with a Spatial SDK PanelSceneObject. Interaction SDK doesn’t know what is displayed on panels, or about Android Views. It treats each panel as an opaque surface that can receive Select and Scroll pointer events.
Panels that have an Grabbable component will also receive Grab events.
Interaction SDK’s IsdkComponentCreationSystem automatically modifies all Spatial SDK panels in your scene to include Interaction SDK components, so you don’t need to make any manual changes to use Interaction SDK’s panel features.
Manually convert a panel into an Interaction SDK panel
If you disabled the IsdkComponentCreationSystem, wish to customize panel behavior, or want to add touch limiting to your own custom panel component, you can manually convert a panel into an Interaction SDK panel.
Using either Spatial Editor or Android Studio, add the following components to the panel entity. Adding these required components to an entity registers it in the IsdkSystem as a panel.
com.meta.spatial.toolkit.Transform
com.meta.spatial.isdk.IsdkPanelDimensions
(Optional) Add one or more of the following components to the panel entity to further customize its behavior.
com.meta.spatial.toolkit.Visible
com.meta.spatial.toolkit.Scale
com.meta.spatial.isdk.IsdkCurvedPanel
When present, specifies that the panel is shaped as if it was wrapped around the edge of a cylinder, instead of flat.