space_ex v0.8.0 SpaceEx.Drawing.Text
Text.
Created using SpaceEx.Drawing.add_text/6.
Link to this section Summary
Functions
Alignment
Anchor
A list of all available fonts
Character size
Set the color
The text string
Name of the font
Line spacing
Material used to render the object
Position of the text
Reference frame for the positions of the object
Remove the object
Rotation of the text as a quaternion
Alignment
Anchor
Character size
Set the color
The text string
Name of the font
Line spacing
Material used to render the object
Position of the text
Reference frame for the positions of the object
Rotation of the text as a quaternion
Font size
Font style
Whether the object is visible
Font size
Font style
Whether the object is visible
Link to this section Functions
Alignment.
Returns: a Elixir.SpaceEx.UI.TextAlignment value in atom form
Anchor.
Returns: a Elixir.SpaceEx.UI.TextAnchor value in atom form
A list of all available fonts.
Returns: [str, ...], where str is a string
Character size.
Returns: a low-precision decimal
Set the color
Returns: {double, double, double}, where double is a high precision decimal
The text string
Returns: a string
Name of the font
Returns: a string
Line spacing.
Returns: a low-precision decimal
Material used to render the object.
Creates the material from a shader with the given name.
Returns: a string
Position of the text.
Returns: {double, double, double}, where double is a high precision decimal
Reference frame for the positions of the object.
Returns: a reference to a SpaceEx.SpaceCenter.ReferenceFrame object
Remove the object.
Returns: :ok
Rotation of the text as a quaternion.
Returns: {double, double, double, double}, where double is a high precision decimal
Alignment.
Returns: :ok
Anchor.
Returns: :ok
Character size.
Returns: :ok
Set the color
Returns: :ok
The text string
Returns: :ok
Name of the font
Returns: :ok
Line spacing.
Returns: :ok
Material used to render the object.
Creates the material from a shader with the given name.
Returns: :ok
Position of the text.
Returns: :ok
Reference frame for the positions of the object.
Returns: :ok
Rotation of the text as a quaternion.
Returns: :ok
Font size.
Returns: :ok
Font style.
Returns: :ok
Whether the object is visible.
Returns: :ok
Font size.
Returns: an integer
Font style.
Returns: a Elixir.SpaceEx.UI.FontStyle value in atom form
Whether the object is visible.
Returns: true or false