Class AnimatedCursor
Animated cursor is a cursor driven using an animator to inject state information and animate accordingly
Implements
IEventSystemHandler
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class AnimatedCursor : BaseCursor, IMixedRealityCursor, IMixedRealityFocusChangedHandler, IMixedRealitySourceStateHandler, IMixedRealityPointerHandler, IEventSystemHandler
Methods
OnCursorContextChange(CursorContextEnum)
Override OnCursorContext change to set the correct animation state for the cursor.
Declaration
public override void OnCursorContextChange(CursorContextEnum context)
Parameters
Type | Name | Description |
---|---|---|
CursorContextEnum | context |
Overrides
OnCursorStateChange(CursorStateEnum)
Override OnCursorState change to set the correct animation state for the cursor.
Declaration
public override void OnCursorStateChange(CursorStateEnum state)
Parameters
Type | Name | Description |
---|---|---|
CursorStateEnum | state |
Overrides
OnFocusChanged(FocusEventData)
Override to set the cursor animation trigger.
Declaration
public override void OnFocusChanged(FocusEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
FocusEventData | eventData |
Overrides
OnInputDisabled()
Change animation state when disabling input.
Declaration
public override void OnInputDisabled()
Overrides
OnInputEnabled()
Change animation state when enabling input.
Declaration
public override void OnInputEnabled()
Overrides
Implements
IEventSystemHandler