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
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MousePointer : BaseMousePointer, 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
Methods
OnInputChanged(InputEventData<MixedRealityPose>)
Raised input event updates from the type of input specified in the interface handler implementation.
Declaration
public override void OnInputChanged(InputEventData<MixedRealityPose> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<MixedRealityPose> | eventData |
Overrides
Remarks
The InputData is the current input data.
OnInputChanged(InputEventData<Vector2>)
Raised input event updates from the type of input specified in the interface handler implementation.
Declaration
public override void OnInputChanged(InputEventData<Vector2> eventData)
Parameters
Type | Name | Description |
---|---|---|
InputEventData<Vector2> | eventData |
Overrides
Remarks
The InputData is the current input data.
OnPreSceneQuery()
Called before performing the scene query.
Declaration
public override void OnPreSceneQuery()
Overrides
SetVisibility(Boolean)
Declaration
protected override void SetVisibility(bool visible)
Parameters
Type | Name | Description |
---|---|---|
Boolean | visible |
Overrides
Start()
Declaration
protected override void Start()