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

GetCameraHandler : GetCameraDelegate
Signature
GetCameraDelegate GetCameraHandler

Methods

GetCameraDelegate ()
Delegate type for the GetCamera function.
Signature
delegate Camera GetCameraDelegate()
Returns
delegate Camera
GetLeftControllerTransformDelegate ()
Delegate type for the GetLeftControllerTransformDelegate function.
Signature
delegate Transform GetLeftControllerTransformDelegate()
Returns
delegate Transform
GetRightControllerTransformDelegate ()
Delegate type for the GetRightControllerTransformDelegate function.
Signature
delegate Transform GetRightControllerTransformDelegate()
Returns
delegate Transform

Static Methods

ClearAllConfig ( customConfig )
Remove the registered customConfig from Immersive Debugger.
Signature
static void ClearAllConfig(ICustomIntegrationConfig customConfig)
Parameters
customConfig: ICustomIntegrationConfig  The implementation of ICustomIntegrationConfig
Returns
void
GetCamera ()
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.
Signature
static Camera GetCamera()
Returns
Camera
SetupAllConfig ( customConfig )
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.
Signature
static void SetupAllConfig(ICustomIntegrationConfig customConfig)
Parameters
customConfig: ICustomIntegrationConfig  The implementation of ICustomIntegrationConfig
Returns
void