Table of Contents

Struct Sphere

Draws a wireframe sphere, comprised of three circles along each axis.

public struct Sphere
Extension Methods

Fields

color

The color of the sphere.

public Color? color

Field Value

Color?

outline

If true, another circle will be drawn facing the camera, making the sphere's shape more clear regardless of the angle.
This only applies if the circle's radius is uniform.

public bool outline

Field Value

bool

position

The center of the sphere.

public float3 position

Field Value

float3

radius

The sphere's radius.
Accepts either a single float for a uniform radius, or a float3 or Vector3.

public float3 radius

Field Value

float3

resolution

The resolution of the circles that make up this sphere. Set to 0 for an automatic resolution based on the distance to the camera.

public byte resolution

Field Value

byte

rotation

The orientation of the sphere.

public quaternion rotation

Field Value

quaternion