Table of Contents

Struct Wedge

Draws a wireframe wedge. This is similar to an Arc, but is closed off on both ends, and has options for an inner radius.

public struct Wedge
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 wedge's plane will be perpendicular to this vector.
Defaults to the global Facing value.

public Facing facing

Field Value

Facing

innerRadius

The wedge's inner radius.

public float2 innerRadius

Field Value

float2

position

The centre of the wedge.

public float3 position

Field Value

float3

radius

The wedge's radius.

public float2 radius

Field Value

float2

resolution

How many segments the wedge is rendered with.
This represents the number of segments of a full 360 degree wedge, e.g. a 180 wedge with a resolution set to 32 will be drawn with 16 segments, and a 90 degree wedge 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