Sphere#

class Drawing.Sphere()#

A solid sphere. Created using Drawing.addSphere().

Note

The sphere is drawn with an additive material, so a darker color draws it more transparent.

Sphere.getCenter()#
Sphere.setCenter(value)#

Position of the center of the sphere.

Property:

Can be read or written

Return type:

[number, number, number]

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Sphere.getRadius()#
Sphere.setRadius(value)#

Radius of the sphere, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph