Class DisablePointersExample
This example demonstrates how to turn pointers on and off by
specifying custom behaviors.
Inheritance
DisablePointersExample
Assembly: cs.temp.dll.dll
public class DisablePointersExample : MonoBehaviour
Fields
Declaration
public Interactable ControllerRayToggle
Field Value
Type |
Description |
Interactable |
|
Declaration
public Interactable GazeToggle
Field Value
Type |
Description |
Interactable |
|
Declaration
public Interactable GrabToggle
Field Value
Type |
Description |
Interactable |
|
Declaration
public Interactable HandRayToggle
Field Value
Type |
Description |
Interactable |
|
Declaration
public Interactable PokeToggle
Field Value
Type |
Description |
Interactable |
|
Methods
Declaration
public void ResetExample()
Declaration
public void SetControllerRayEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration
public void SetFingerOnly()
Declaration
public void SetGazeEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration
public void SetGrabEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration
public void SetHandRayEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration
public void SetHoloLens1()
Declaration
public void SetHoloLens2()
Declaration
public void SetLeftHandRayEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration
public void SetPokeEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration
public void SetRightHandRayEnabled(bool isEnabled)
Parameters
Type |
Name |
Description |
Boolean |
isEnabled |
|
Declaration