PixelCrushers.MoreGizmos Class Reference

Provides more drawing routines for gizmos. More...

Static Public Member Functions

static void DrawArrow (Vector3 from, Vector3 direction, float arrowheadLength=0.2f, float arrowheadAngle=30f)
 Draws an arrow, which is a ray with an arrowhead at the end.
 

Detailed Description

Provides more drawing routines for gizmos.

Member Function Documentation

◆ DrawArrow()

static void PixelCrushers.MoreGizmos.DrawArrow ( Vector3  from,
Vector3  direction,
float  arrowheadLength = 0::2f,
float  arrowheadAngle = 30f 
)
inlinestatic

Draws an arrow, which is a ray with an arrowhead at the end.

Parameters
fromStart of the ray.
directionDirection and length the ray extends.
arrowheadLengthLength of the arrowhead that extends from the end the ray.
arrowheadAngleAngle of the arrowhead in degrees.

The documentation for this class was generated from the following file: