HandConstraint.ToggleCursors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables/disables all cursors on the currently tracked hand.
protected virtual System.Collections.IEnumerator ToggleCursors (Microsoft.MixedReality.Toolkit.Input.IMixedRealityController controller, bool visible, bool frameDelay = false);
abstract member ToggleCursors : Microsoft.MixedReality.Toolkit.Input.IMixedRealityController * bool * bool -> System.Collections.IEnumerator
override this.ToggleCursors : Microsoft.MixedReality.Toolkit.Input.IMixedRealityController * bool * bool -> System.Collections.IEnumerator
Protected Iterator Overridable Function ToggleCursors (controller As IMixedRealityController, visible As Boolean, Optional frameDelay As Boolean = false) As IEnumerator
Parameters
- controller
- IMixedRealityController
Controller target to search for pointers
- visible
- Boolean
Is the cursor visible?
- frameDelay
- Boolean
Delay one frame before performing the toggle to allow the pointers to instantiate their cursors.