Text#
- public class Text#
Text. Created using
addText(String, SpaceCenter.ReferenceFrame, org.javatuples.Triplet<Double,Double,Double>, org.javatuples.Quartet<Double,Double,Double,Double>, boolean).- void setPosition(org.javatuples.Triplet<Double, Double, Double> value)#
Position of the text.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setRotation(org.javatuples.Quartet<Double, Double, Double, Double> value)#
Rotation of the text as a quaternion.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- boolean getFaceCamera()#
- void setFaceCamera(boolean value)#
Whether the text turns to face the camera, in place of its
Text.getRotation().- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- SpaceCenter.ReferenceFrame getReferenceFrame()#
- void setReferenceFrame(SpaceCenter.ReferenceFrame value)#
Reference frame for the positions of the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- boolean getVisible()#
- void setVisible(boolean value)#
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
- void setContent(String value)#
The text string
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setFont(String value)#
Name of the font
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- static java.util.List<String> availableFonts(Connection connection)#
A list of all available fonts.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- int getSize()#
- void setSize(int value)#
Font size.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- float getCharacterSize()#
- void setCharacterSize(float value)#
Character size.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setStyle(UI.FontStyle value)#
Font style.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setColor(StdLib.ColorRGB value)#
Set the color
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setMaterial(String 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
- UI.TextAlignment getAlignment()#
- void setAlignment(UI.TextAlignment value)#
Alignment.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- float getLineSpacing()#
- void setLineSpacing(float value)#
Line spacing.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- UI.TextAnchor getAnchor()#
- void setAnchor(UI.TextAnchor value)#
Anchor.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph