Skip to content

spaceteams.SC_Compute_Server.vis.text

Text-based visualizations

AttachCelestialBodyLabel

AttachCelestialBodyLabel(celestial: Entity) -> spaceteams.SC_Compute_Server.Entity

Create a label for this planet.

CreateText

CreateText(text: str, **kwargs) -> spaceteams.SC_Compute_Server.Entity

Create a text display.

SetTextColor

SetTextColor(text_entity: Entity, new_color: Annotated[ArrayLike, float64]) -> None

Change the color of the text that is displayed by this entity.

SetTextToDisplay

SetTextToDisplay(text_entity: Entity, new_text: str) -> None

Change the text that is displayed by this entity.