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