Class MousePointer
The MousePointer represents a mouse cursor in world space. It uses spherical movement around the camera. Its movement is bound to screenspace, but based in the delta movement of the computer mouse.
Inheritance
MousePointer
Implements
MonoBehaviour
IMixedRealityInputHandler<Vector2>
IMixedRealityInputHandler<Vector3>
IMixedRealityInputHandler<Quaternion>
IMixedRealityInputHandler<MixedRealityPose>
IEventSystemHandler
IEqualityComparer
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MousePointer : BaseMousePointer, MonoBehaviour, IMixedRealityControllerPoseSynchronizer, IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler, IMixedRealityMousePointer, IMixedRealityPointer, IEqualityComparer
Properties
ControllerName
Declaration
protected override string ControllerName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
ControllerName
Declaration
protected override string ControllerName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
OnInputChanged(InputEventData<MixedRealityPose>)
Declaration
public override void OnInputChanged(InputEventData<MixedRealityPose> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<MixedRealityPose> | eventData |
Overrides
OnInputChanged(InputEventData<MixedRealityPose>)
Declaration
public override void OnInputChanged(InputEventData<MixedRealityPose> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<MixedRealityPose> | eventData |
Overrides
OnInputChanged(InputEventData<Vector2>)
Declaration
public override void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<Vector2> | eventData |
Overrides
OnInputChanged(InputEventData<Vector2>)
Declaration
public override void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<Vector2> | eventData |
Overrides
OnPreSceneQuery()
Declaration
public override void OnPreSceneQuery()
Overrides
OnPreSceneQuery()
Declaration
public override void OnPreSceneQuery()
Overrides
SetVisibility(Boolean)
Declaration
protected override void SetVisibility(bool visible)
Parameters
Type | Name | Description |
---|---|---|
Boolean | visible |
Overrides
SetVisibility(Boolean)
Declaration
protected override void SetVisibility(bool visible)
Parameters
Type | Name | Description |
---|---|---|
Boolean | visible |
Overrides
Start()
Declaration
protected override void Start()
Overrides
Start()
Declaration
protected override void Start()
Overrides
Implements
MonoBehaviour
IEventSystemHandler
IEqualityComparer