Path#
-
type krpc_Drawing_Path_t#
The base class of orbit paths and of the paths whose points are in a reference frame.
Base class:krpc_Drawing_Drawable_tDerived classes:krpc_Drawing_FramedPath_t,krpc_Drawing_OrbitPath_t-
KRPC_CLASS_DRAWING_PATH#
The service and class ids of the class, for
krpc_KRPC_Type_ClassTypeById().
-
krpc_error_t krpc_Drawing_Path_Visible(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Visible(krpc_connection_t connection, krpc_Drawing_Path_t instance, bool value)#
Whether the object is visible.
Inherited from
krpc_Drawing_Drawable_Visible().- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Color(krpc_connection_t connection, krpc_Drawing_Path_t instance, const krpc_StdLib_ColorRGB_t *value)#
The color of the object.
Inherited from
krpc_Drawing_Drawable_Color().- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
Note
For a path drawn with more than one color, this is the color at its start.
-
krpc_error_t krpc_Drawing_Path_Colors(krpc_connection_t connection, krpc_list_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Colors(krpc_connection_t connection, krpc_Drawing_Path_t instance, const krpc_list_StdLib_ColorRGB_t *value)#
The colors of the path, blended evenly from its start to its end.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
Note
Throws an exception if the list is empty or holds more than 8 colors.
-
krpc_error_t krpc_Drawing_Path_Thickness(krpc_connection_t connection, float *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Thickness(krpc_connection_t connection, krpc_Drawing_Path_t instance, float value)#
The thickness of the path.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_StartArrow(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_StartArrow(krpc_connection_t connection, krpc_Drawing_Path_t instance, bool value)#
Whether an arrow head is drawn at the start.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_EndArrow(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_EndArrow(krpc_connection_t connection, krpc_Drawing_Path_t instance, bool value)#
Whether an arrow head is drawn at the end.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_ArrowSize(krpc_connection_t connection, float *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_ArrowSize(krpc_connection_t connection, krpc_Drawing_Path_t instance, float value)#
The size of the arrow heads, relative to the thickness.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_Dashed(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Dashed(krpc_connection_t connection, krpc_Drawing_Path_t instance, bool value)#
Whether the path is drawn as a dashed line.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_Label(krpc_connection_t connection, char **returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Label(krpc_connection_t connection, krpc_Drawing_Path_t instance, const char *value)#
The text drawn halfway along the path, facing the camera. Empty for no label.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_Material(krpc_connection_t connection, char **returnValue, krpc_Drawing_Path_t instance)#
-
krpc_error_t krpc_Drawing_Path_set_Material(krpc_connection_t connection, krpc_Drawing_Path_t instance, const char *value)#
The material used to render the object. Creates the material from a shader with the given name. Throws an exception if the object is a marker, which the game draws with its own material.
Inherited from
krpc_Drawing_Drawable_Material().- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
krpc_error_t krpc_Drawing_Path_Remove(krpc_connection_t connection, krpc_Drawing_Path_t instance)#
Remove the object.
Inherited from
krpc_Drawing_Drawable_Remove().- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
KRPC_CLASS_DRAWING_PATH#