Sphere#

type krpc_Drawing_Sphere_t#

A solid sphere. Created using krpc_Drawing_AddSphere().

Note

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

krpc_error_t krpc_Drawing_Sphere_Center(krpc_connection_t connection, krpc_tuple_double_double_double_t *returnValue, krpc_Drawing_Sphere_t instance)#
krpc_error_t krpc_Drawing_Sphere_set_Center(krpc_connection_t connection, krpc_Drawing_Sphere_t instance, const krpc_tuple_double_double_double_t *value)#

Position of the center of the sphere.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Sphere_Radius(krpc_connection_t connection, double *returnValue, krpc_Drawing_Sphere_t instance)#
krpc_error_t krpc_Drawing_Sphere_set_Radius(krpc_connection_t connection, krpc_Drawing_Sphere_t instance, double value)#

Radius of the sphere, in meters.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Sphere_ReferenceFrame(krpc_connection_t connection, krpc_SpaceCenter_ReferenceFrame_t *returnValue, krpc_Drawing_Sphere_t instance)#
krpc_error_t krpc_Drawing_Sphere_set_ReferenceFrame(krpc_connection_t connection, krpc_Drawing_Sphere_t instance, krpc_SpaceCenter_ReferenceFrame_t value)#

Reference frame for the positions of the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Sphere_Visible(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Sphere_t instance)#
krpc_error_t krpc_Drawing_Sphere_set_Visible(krpc_connection_t connection, krpc_Drawing_Sphere_t instance, bool value)#

Whether the object is visible.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Sphere_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Sphere_t instance)#
krpc_error_t krpc_Drawing_Sphere_set_Color(krpc_connection_t connection, krpc_Drawing_Sphere_t instance, const krpc_StdLib_ColorRGB_t *value)#

The color of the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Sphere_Material(krpc_connection_t connection, char **returnValue, krpc_Drawing_Sphere_t instance)#
krpc_error_t krpc_Drawing_Sphere_set_Material(krpc_connection_t connection, krpc_Drawing_Sphere_t instance, const char *value)#

Material used to render the object. Creates the material from a shader with the given name.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Sphere_Remove(krpc_connection_t connection, krpc_Drawing_Sphere_t instance)#

Remove the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph