Class MeshCursor
Object that represents a cursor in 3D space controlled by gaze.
Implements
IEventSystemHandler
MonoBehaviour
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MeshCursor : BaseCursor, IMixedRealityCursor, IMixedRealityFocusChangedHandler, IMixedRealitySourceStateHandler, IMixedRealityPointerHandler, IEventSystemHandler, MonoBehaviour
Fields
CursorStateData
Declaration
public MeshCursor.MeshCursorDatum[] CursorStateData
Field Value
Type | Description |
---|---|
MeshCursor.MeshCursorDatum[] |
CursorStateData
Declaration
public MeshCursor.MeshCursorDatum[] CursorStateData
Field Value
Type | Description |
---|---|
MeshCursor.MeshCursorDatum[] |
TargetRenderer
Sprite renderer to change. If null find one in children
Declaration
public MeshRenderer TargetRenderer
Field Value
Type | Description |
---|---|
MeshRenderer |
TargetRenderer
Sprite renderer to change. If null find one in children
Declaration
public MeshRenderer TargetRenderer
Field Value
Type | Description |
---|---|
MeshRenderer |
Methods
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
OnEnable()
On enable look for a sprite renderer on children
Declaration
protected override void OnEnable()
Overrides
OnEnable()
On enable look for a sprite renderer on children
Declaration
protected override void OnEnable()
Overrides
Implements
IEventSystemHandler
MonoBehaviour