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.

Properties

The color assigned to _renderer when the interactor is in the InteractorState.Normal state.
The color assigned to _renderer when the interactor is in the InteractorState.Hover state.
The color assigned to _renderer when the interactor is in the InteractorState.Select state.
The color assigned to _renderer when the interactor is in the InteractorState.Disabled state.

Protected Fields

bool _started[Get]

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )

Member Functions

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.
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.
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.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon