API reference

DistantInteractionLineVisual Class

Extends MonoBehaviour
Determines some visual properties of the ghost line reticle.
Included in the ReticleLine prefab.

Properties

IDistanceInteractor DistanceInteractor[Get]
float VisualOffset[Get]
int NumLinePoints[Get]
float TargetlessLength[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )
virtual void InteractableSet
( IRelativeToRef interactable )
virtual void InteractableUnset ( )
abstract void RenderLine
( Vector3[] linePoints )
abstract void HideLine ( )
Vector3 TargetHit
( Vector3 hitPoint )

Object Data for protected-static-func

static Vector3 EvaluateBezier
( Vector3 start,
Vector3 middle,
Vector3 end,
float t )

Member Functions

void InjectAllDistantInteractionLineVisual
( IDistanceInteractor interactor )
void InjectDistanceInteractor
( IDistanceInteractor interactor )