Class LinePointer
A simple line pointer for drawing lines from the input source origin to the current pointer position.
Inheritance
LinePointer
      
  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 LinePointer : BaseControllerPointer, IMixedRealityControllerPoseSynchronizer, IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler, IMixedRealityPointer, IEqualityComparer
  Fields
LineCastResolution
Declaration
protected int LineCastResolution
  Field Value
| Type | Description | 
|---|---|
| Int32 | 
LineColorInvalid
Declaration
protected Gradient LineColorInvalid
  Field Value
| Type | Description | 
|---|---|
| Gradient | 
LineColorLockFocus
Declaration
protected Gradient LineColorLockFocus
  Field Value
| Type | Description | 
|---|---|
| Gradient | 
LineColorNoTarget
Declaration
protected Gradient LineColorNoTarget
  Field Value
| Type | Description | 
|---|---|
| Gradient | 
LineColorSelected
Declaration
protected Gradient LineColorSelected
  Field Value
| Type | Description | 
|---|---|
| Gradient | 
LineColorValid
Declaration
protected Gradient LineColorValid
  Field Value
| Type | Description | 
|---|---|
| Gradient | 
Properties
IsInteractionEnabled
Declaration
public override bool IsInteractionEnabled { get; }
  Property Value
| Type | Description | 
|---|---|
| Boolean | 
Overrides
LineBase
The Line Data Provider driving this pointer.
Declaration
public BaseMixedRealityLineDataProvider LineBase { get; }
  Property Value
| Type | Description | 
|---|---|
| BaseMixedRealityLineDataProvider | 
LineRenderers
The current line renderers that this pointer is utilizing.
Declaration
public BaseMixedRealityLineRenderer[] LineRenderers { get; set; }
  Property Value
| Type | Description | 
|---|---|
| BaseMixedRealityLineRenderer[] | 
Remarks
If no line renderers are specified, this array will be auto-populated on startup.
Methods
OnDisable()
Declaration
protected override void OnDisable()
  Overrides
OnEnable()
Declaration
protected override void OnEnable()
  Overrides
OnPostSceneQuery()
Called after performing the scene query.
Declaration
public override void OnPostSceneQuery()
  Overrides
OnPreSceneQuery()
Called before performing the scene query.
Declaration
public override void OnPreSceneQuery()
  Overrides
SetLinePoints(Vector3, Vector3, Single)
Declaration
protected virtual void SetLinePoints(Vector3 startPoint, Vector3 endPoint, float distance)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Vector3 | startPoint | |
| Vector3 | endPoint | |
| Single | distance | 
Implements
      IEventSystemHandler
  
  
  
      IEqualityComparer