Class InteractiveMeshCursor
A cursor that looks and acts more like the shell cursor. A two part cursor with visual feedback for all cursor states
Implements
IEventSystemHandler
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class InteractiveMeshCursor : BaseCursor, IMixedRealityCursor, IMixedRealityFocusChangedHandler, IMixedRealitySourceStateHandler, IMixedRealityPointerHandler, IEventSystemHandler
Methods
OnCursorStateChange(CursorStateEnum)
Decide which element (ring or dot) should be visible and at what scale
Declaration
public override void OnCursorStateChange(CursorStateEnum state)
Parameters
Type | Name | Description |
---|---|---|
CursorStateEnum | state |
Overrides
SetVisibility(Boolean)
override the base class for custom visibility
Declaration
public override void SetVisibility(bool visible)
Parameters
Type | Name | Description |
---|---|---|
Boolean | visible |
Overrides
UpdateCursorTransform()
scale the cursor elements
Declaration
protected override void UpdateCursorTransform()
Overrides
Implements
IEventSystemHandler