Table of Contents

Struct Cone

Draws a 3D cone.

public struct Cone
Extension Methods

Fields

angle

The angle of the cone in degrees.

public float angle

Field Value

float

cap

Controls the cap drawn at the end of a Cone.

public ConeCap cap

Field Value

ConeCap

color

The color of the box.

public Color? color

Field Value

Color?

p1

The center or starting point of the cone.

public float3 p1

Field Value

float3

p2

The end point of the cone.

public float3 p2

Field Value

float3

resolution

How many segments the cone is rendered with.
Set to 0 for automatic resolution based on the distance to the camera.

public byte resolution

Field Value

byte