Class LinePointer
A simple line pointer for drawing lines from the input source origin to the current pointer position.
Implements
MonoBehaviour
IEventSystemHandler
IEqualityComparer
Assembly: cs.temp.dll.dll
public class LinePointer : BaseControllerPointer, MonoBehaviour, 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 LineColorInvalid
Field Value
Type |
Description |
Gradient |
|
Declaration
protected Gradient LineColorLockFocus
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 LineColorNoTarget
Field Value
Type |
Description |
Gradient |
|
Declaration
protected Gradient LineColorSelected
Field Value
Type |
Description |
Gradient |
|
Declaration
protected Gradient LineColorSelected
Field Value
Type |
Description |
Gradient |
|
Declaration
protected Gradient LineColorValid
Field Value
Type |
Description |
Gradient |
|
Declaration
protected Gradient LineColorValid
Field Value
Type |
Description |
Gradient |
|
Properties
Declaration
public override bool IsInteractionEnabled { get; }
Property Value
Overrides
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 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; }
Property Value
Type |
Description |
BaseMixedRealityLineRenderer[] |
|
The current line renderers that this pointer is utilizing.
Declaration
public BaseMixedRealityLineRenderer[] LineRenderers { get; }
Property Value
Type |
Description |
BaseMixedRealityLineRenderer[] |
|
Methods
Declaration
protected override void OnDisable()
Overrides
Declaration
protected override void OnDisable()
Overrides
Declaration
protected override void OnEnable()
Overrides
Declaration
protected override void OnEnable()
Overrides
OnPostSceneQuery()
Declaration
public override void OnPostSceneQuery()
Overrides
OnPostSceneQuery()
Declaration
public override void OnPostSceneQuery()
Overrides
Declaration
public override void OnPreSceneQuery()
Overrides
Declaration
public override void OnPreSceneQuery()
Overrides
PostUpdateLineRenderers()
Declaration
protected virtual void PostUpdateLineRenderers()
Declaration
protected virtual void PreUpdateLineRenderers()
Declaration
protected void SetLinePoints(Vector3 startPoint, Vector3 endPoint)
Parameters
Type |
Name |
Description |
Vector3 |
startPoint |
|
Vector3 |
endPoint |
|
Declaration
protected virtual void SetLinePoints(Vector3 startPoint, Vector3 endPoint, float distance)
Parameters
Type |
Name |
Description |
Vector3 |
startPoint |
|
Vector3 |
endPoint |
|
Single |
distance |
|
Declaration
protected virtual void UpdateRays()
Implements
MonoBehaviour
IEventSystemHandler
IEqualityComparer