Class TouchPointer
Touch Pointer Implementation.
Inheritance
TouchPointer
Implements
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 TouchPointer : BaseControllerPointer, IMixedRealityControllerPoseSynchronizer, IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler, IMixedRealityTouchPointer, IMixedRealityPointer, IEqualityComparer
Properties
FingerId
Current finger id of the touch.
Declaration
public int FingerId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
IsInteractionEnabled
Is the pointer active and have the conditions for the interaction been satisfied to enable the interaction?
Declaration
public override bool IsInteractionEnabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Position
Pointer position.
Declaration
public override Vector3 Position { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Overrides
Rotation
Pointer rotation.
Declaration
public override Quaternion Rotation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
Overrides
TouchRay
Current touch ray.
Declaration
public Ray TouchRay { get; set; }
Property Value
Type | Description |
---|---|
Ray |
Methods
OnPreSceneQuery()
Called before performing the scene query.
Declaration
public override void OnPreSceneQuery()
Overrides
OnSourceDetected(SourceStateEventData)
Raised when a source is detected.
Declaration
public override void OnSourceDetected(SourceStateEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
SourceStateEventData | eventData |
Overrides
OnSourceLost(SourceStateEventData)
Raised when a source is lost.
Declaration
public override void OnSourceLost(SourceStateEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
SourceStateEventData | eventData |
Overrides
Implements
IEventSystemHandler
IEqualityComparer