Table of Contents

Struct Cylinder

Draws a wireframe cylinder, as two circles connected by four lines.

public struct Cylinder
Extension Methods

Fields

color

The color of the cylinder.

public Color? color

Field Value

Color?

p1

The starting position.

public float3 p1

Field Value

float3

p2

The end position.

public float3 p2

Field Value

float3

radius1

The starting radius.

public float radius1

Field Value

float

radius2

The end radius.

public float radius2

Field Value

float

resolution

The resolution of the end-cap circles. Set to 0 for an automatic resolution based on the distance to the camera.

public byte resolution

Field Value

byte

rotation

Controls the orientation/rotation of the cylinder around its axis.

public float rotation

Field Value

float