Table of Contents

Struct Capsule

Draws a wireframe capsule.

public struct Capsule
Extension Methods

Fields

color

The color of the capsule.

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

radius

The radius of the capsule.

public float radius

Field Value

float

resolution

The resolution of the circles that make up this capsule. 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 capsule around its axis.

public float rotation

Field Value

float