Text#
- class Text#
Text. Created using
Drawing.AddText.- Tuple<double, double, double> Position { get; set; }#
Position of the text.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Tuple<double, double, double, double> Rotation { get; set; }#
Rotation of the text as a quaternion.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- bool FaceCamera { get; set; }#
Whether the text turns to face the camera, in place of its
Text.Rotation.- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- SpaceCenter.ReferenceFrame ReferenceFrame { get; set; }#
Reference frame for the positions of the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- bool Visible { get; set; }#
Whether the object is visible.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void Remove ()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- string Content { get; set; }#
The text string
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- string Font { get; set; }#
Name of the font
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- static IList<string> AvailableFonts (IConnection connection)#
A list of all available fonts.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- float CharacterSize { get; set; }#
Character size.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- UI.FontStyle Style { get; set; }#
Font style.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- StdLib.ColorRGB Color { get; set; }#
Set the color
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- 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
- UI.TextAlignment Alignment { get; set; }#
Alignment.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- float LineSpacing { get; set; }#
Line spacing.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- UI.TextAnchor Anchor { get; set; }#
Anchor.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph