Method OnSessionLossPending
OnSessionLossPending(ulong)
Called when the runtime transitions to the XR_SESSION_STATE_LOSS_PENDING state. This is a notification to the feature implementer that the session is about to be lost. This feature should do what it needs to do to prepare for potential session recreation.
Declaration
protected virtual void OnSessionLossPending(ulong xrSession)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession | The session that is going to be lost |