Table of Contents

Struct Arrow

Draws an arrow between two points.

public struct Arrow
Extension Methods

Fields

color1

The starting color.

public Color? color1

Field Value

Color?

color2

The color at the head of the arrow.

public Color? color2

Field Value

Color?

defaultFoot

The default head shape at the start of the arrow, for all arrows.
Disabled by default.

public static ArrowHeadData defaultFoot

Field Value

ArrowHeadData

defaultHead

The default head shape for all arrows.
An open arrow by default.

public static ArrowHeadData defaultHead

Field Value

ArrowHeadData

facing

If non-null the arrow head will be perpendicular to this direction.
Otherwise, the head will face the camera.

public Facing facing

Field Value

Facing

foot

If set will also render a head at the start of the arrow.

public ArrowHeadData foot

Field Value

ArrowHeadData

head

Options for how the arrow head is rendered.

public ArrowHeadData head

Field Value

ArrowHeadData

length

Limits the length of th arrow, making sure it's always at least min long, and never longer than max.
Use negative values to indicate no limit.

public MinMax length

Field Value

MinMax

p1

The starting or foot position.

public float3 p1

Field Value

float3

p2

The end or head position.

public float3 p2

Field Value

float3