Table of Contents

Struct Arc

Draws a wireframe arc.

public struct Arc
Extension Methods

Fields

angle1

The starting angle.

public float angle1

Field Value

float

angle2

The ending angle.

public float angle2

Field Value

float

color1

The starting color.

public Color? color1

Field Value

Color?

color2

The end color.

public Color? color2

Field Value

Color?

facing

The arc's plane will be perpendicular to this vector.
Defaults to the global Facing value.

public Facing facing

Field Value

Facing

position

The centre of the arc.

public float3 position

Field Value

float3

radius

The arc's radius.

public float2 radius

Field Value

float2

resolution

How many segments the arc is rendered with.
This represents the number of segments of a full 360 degree arc, e.g. a 180 arc with a resolution set to 32 will be drawn with 16 segments, and a 90 degree arc with 8 segments.

3 = triangular, 4 = square, and more is circular.
Set to 0 for a circular shape with automatic resolution based on the distance to the camera.

public byte resolution

Field Value

byte