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
- void setRotation(org.javatuples.Quartet<Double, Double, Double, Double> value)#
Rotation of the text as a quaternion.
- Game Scenes:
Flight
- SpaceCenter.ReferenceFrame getReferenceFrame()#
- void setReferenceFrame(SpaceCenter.ReferenceFrame value)#
Reference frame for the positions of the object.
- Game Scenes:
Flight
- boolean getVisible()#
- void setVisible(boolean value)#
Whether the object is visible.
- Game Scenes:
Flight
- void remove()#
Remove the object.
- Game Scenes:
Flight
- static java.util.List<String> availableFonts(Connection connection)#
A list of all available fonts.
- Game Scenes:
Flight
- int getSize()#
- void setSize(int value)#
Font size.
- Game Scenes:
Flight
- float getCharacterSize()#
- void setCharacterSize(float value)#
Character size.
- Game Scenes:
Flight
- void setColor(org.javatuples.Triplet<Double, Double, Double> value)#
Set the color
- Game Scenes:
Flight
- void setMaterial(String value)#
Material used to render the object. Creates the material from a shader with the given name.
- Game Scenes:
Flight
- UI.TextAlignment getAlignment()#
- void setAlignment(UI.TextAlignment value)#
Alignment.
- Game Scenes:
Flight
- float getLineSpacing()#
- void setLineSpacing(float value)#
Line spacing.
- Game Scenes:
Flight
- UI.TextAnchor getAnchor()#
- void setAnchor(UI.TextAnchor value)#
Anchor.
- Game Scenes:
Flight