.. default-domain:: cs .. highlight:: csharp .. namespace:: KRPC.Client.Services.Drawing OrbitPath ========= .. class:: OrbitPath The path of an orbit. Created using :meth:`Drawing.AddOrbit `. .. property:: SpaceCenter.Orbit Orbit { get; set; } The orbit. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: bool WholeOrbit { get; set; } Whether the whole orbit is drawn, up to where it leaves the sphere of influence of its body. When false, the orbit is drawn from :prop:`OrbitPath.StartTrueAnomaly` to :prop:`OrbitPath.EndTrueAnomaly`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: double StartTrueAnomaly { get; set; } The true anomaly at which the path starts, in radians. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :prop:`OrbitPath.WholeOrbit` to false. .. property:: double EndTrueAnomaly { get; set; } The true anomaly at which the path ends, in radians. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Setting this sets :prop:`OrbitPath.WholeOrbit` to false. .. property:: bool Visible { get; set; } Whether the object is visible. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: StdLib.ColorRGB Color { get; set; } The color of the path. :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. .. property:: System.Collections.Generic.IList Colors { get; set; } 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. .. property:: float Thickness { get; set; } The thickness of the path. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: bool StartArrow { get; set; } Whether an arrow head is drawn at the start. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: bool EndArrow { get; set; } Whether an arrow head is drawn at the end. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: float ArrowSize { get; set; } The size of the arrow heads, relative to the thickness. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: bool Dashed { get; set; } Whether the path is drawn as a dashed line. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: string Label { get; set; } Text drawn halfway along the path, facing the camera. Empty for no label. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. property:: string Material { get; set; } 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 .. function:: void Remove() Remove the object. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph