Class AnimatedCursor
Animated cursor is a cursor driven using an animator to inject state information and animate accordingly
Implements
IEventSystemHandler
MonoBehaviour
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class AnimatedCursor : BaseCursor, IMixedRealityCursor, IMixedRealityFocusChangedHandler, IMixedRealitySourceStateHandler, IMixedRealityPointerHandler, IEventSystemHandler, MonoBehaviour
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
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
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
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
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
OnInputEnabled()
Change animation state when enabling input.
Declaration
public override void OnInputEnabled()
Overrides
Implements
IEventSystemHandler
MonoBehaviour