Interface XrFeatureHandle
Methods
Optionaldispose
-
Release any scene/GPU resources. Called when the session ends.
Returns void
Optionalupdate
-
Called once per
XRFrame, after input poses are refreshed and the session'sonFramecallback, before the eyes are rendered. Optional for passive features.Parameters
- frame: XRFrame
- time: number
Returns void
A live feature instance bound to an active session. Returned by XrFeatureSpec.create; the session owns its lifecycle.