useSessionFeatureEnabled
Caution
Deprecated: use useXRSessionFeatureEnabled instead
constuseSessionFeatureEnabled: (feature) =>boolean=useXRSessionFeatureEnabled
Checks if a specific XR session feature is enabled.
Parameters
featurestring
The XR session feature to check against.
Returns
boolean
Whether the feature is enabled.