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

InteractorDebugVisual Class

Extends MonoBehaviour
Sets the color of a Renderer to reflect the InteractorState of an IInteractorView.

Protected Fields

_started : bool
Signature
bool Oculus.Interaction.InteractorDebugVisual._started

Properties

DisabledColor : Color
[Get][Set]
The color assigned to _renderer when the interactor is in the InteractorState.Disabled state.
Signature
Color Oculus.Interaction.InteractorDebugVisual.DisabledColor
HoverColor : Color
[Get][Set]
The color assigned to _renderer when the interactor is in the InteractorState.Hover state.
Signature
Color Oculus.Interaction.InteractorDebugVisual.HoverColor
NormalColor : Color
[Get][Set]
The color assigned to _renderer when the interactor is in the InteractorState.Normal state.
Signature
Color Oculus.Interaction.InteractorDebugVisual.NormalColor
SelectColor : Color
[Get][Set]
The color assigned to _renderer when the interactor is in the InteractorState.Select state.
Signature
Color Oculus.Interaction.InteractorDebugVisual.SelectColor

Protected Methods

Awake ()
Signature
virtual void Oculus.Interaction.InteractorDebugVisual.Awake()
Returns
void
OnDisable ()
Signature
virtual void Oculus.Interaction.InteractorDebugVisual.OnDisable()
Returns
void
OnEnable ()
Signature
virtual void Oculus.Interaction.InteractorDebugVisual.OnEnable()
Returns
void
Start ()
Signature
virtual void Oculus.Interaction.InteractorDebugVisual.Start()
Returns
void

Methods

InjectAllInteractorDebugVisual ( interactorView , renderer )
Injects all required dependencies for a dynamically instantiated InteractorDebugVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractorDebugVisual.InjectAllInteractorDebugVisual(IInteractorView interactorView, Renderer renderer)
Parameters
interactorView: IInteractorView
renderer: Renderer
Returns
void
InjectInteractorView ( interactorView )
Sets the underlying IInteractorView for a dynamically instantiated InteractorDebugVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractorDebugVisual.InjectInteractorView(IInteractorView interactorView)
Parameters
interactorView: IInteractorView
Returns
void
InjectRenderer ( renderer )
Sets the underlying Renderer for a dynamically instantiated InteractorDebugVisual.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.InteractorDebugVisual.InjectRenderer(Renderer renderer)
Parameters
renderer: Renderer
Returns
void