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

Panel Class

This is a MonoBehaviour serves as base class for all the panels of Immersive Debugger.
Handles common behaviours like haptics and exposes functions to customize each panel. For more info about Immersive Debugger, check out the official doc

Protected Fields

_backgroundStyle : ImageStyle
Signature
ImageStyle _backgroundStyle
_canvas : Canvas
Signature
Canvas _canvas
Background : Background
Signature
Background Background

Properties

BackgroundStyle : ImageStyle
[Set]
The image style of the background, can specify the detailed properties such as sprite and color.
Signature
ImageStyle BackgroundStyle
SphericalCoordinates : Vector3
[Get][Set]
The spherical coordinates of the panel.
As the panel is using the cylinder overlay shape for a curved panel effect, this coordinates would be converted to actual position of the panel on the overlay canvas.
Signature
Vector3 SphericalCoordinates

Protected Methods

OnHoverChanged ()
Signature
override void OnHoverChanged()
Returns
override void
OnTransparencyChanged ()
Signature
override void OnTransparencyChanged()
Returns
override void
SetExpectedPixelsPerUnit ( pixelsPerUnit , dynamicPixelsPerUnit , referencePixelsPerUnit )
Signature
void SetExpectedPixelsPerUnit(float pixelsPerUnit, float dynamicPixelsPerUnit, float referencePixelsPerUnit)
Parameters
pixelsPerUnit: float
dynamicPixelsPerUnit: float
referencePixelsPerUnit: float
Returns
void
Setup ( owner )
Signature
override void Setup(Controller owner)
Parameters
owner: Controller
Returns
override void