OctoXR
Search…
⌃K

RayVisuals

  • Used for visualizing rays
  • Requires a component of type LineRenderer

Public Methods

void EnableLineRenderer()
void DisableLineRenderer()
void DrawValidRay(Vector3, Vector3)
  • Draws a ray from start to end with ray valid gradient
void DrawInvalidRay(Vector3, Vector3)
  • Draws a ray from start to end with ray invalid gradient
void DrawSelectRay(Vector3, Vector3)
  • Draws a ray from start to end with ray select gradient
ReduceLineWidthByPercentage(float)
  • Scales line width dynamically in threshold of rayStartWidth and rayStartWidth - rayWidthDelta by percentage