API reference
API reference
Select your platform
No SDKs available
No versions available

CustomIntegrationConfig Class

Subscribe to the delegate events to register custom config of the integration with Immersive Debugger, all should be only subscribed once for each scene.
For more info about Immersive Debugger, check out the official doc

Events

static GetCameraDelegate GetCameraHandler
static GetLeftControllerTransformDelegate GetLeftControllerTransformHandler
static GetRightControllerTransformDelegate GetRightControllerTransformHandler

Member Functions

Delegate type for the GetCamera function.
Delegate type for the GetLeftControllerTransformDelegate function.
Delegate type for the GetRightControllerTransformDelegate function.

Static Member Functions

Setup all the configs with provided ICustomIntegrationConfig so it's used by Immersive Debugger Note the config is only gonna be used if UseCustomIntegrationConfig is enabled in settings.
Parameters
customConfig
The implementation of ICustomIntegrationConfig
Remove the registered customConfig from Immersive Debugger.
Parameters
customConfig
The implementation of ICustomIntegrationConfig
Get Camera of the current scene, could be null.
Used for show panel in relation to the camera's pose in runtime if you're not using OVRCameraRig.
Get Left controller, used to calculate ray casting to the panel in runtime.
Returns
Transform of the left controller
Get Right controller, used to calculate ray casting to the panel in runtime.
Returns
Transform of the right controller
Did you find this page helpful?
Thumbs up icon
Thumbs down icon