Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyTextSurface

Malware edited this page Feb 28, 2019 · 29 revisions

IndexNamespace Index

IMyTextSurface Interface

public interface IMyTextSurface

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll

Inheritors:

Properties

Member Description
CurrentlyShownImage The image that is currently shown on the screen. Returns NULL if there are no images selected OR the screen is in text mode.
ShowOnScreen Indicates what should be shown on the screen, none being an image.
ShowText Returns true if the ShowOnScreen flag is set to either PUBLIC or PRIVATE
FontSize Gets or sets font size
FontColor Gets or sets font color
BackgroundColor Gets or sets background color
ChangeInterval Gets or sets the change interval for selected textures
Font Gets or sets the font

Methods

Member Description
WritePublicText(string, bool)
GetPublicText()
WritePublicText(StringBuilder, bool)
ReadPublicText(StringBuilder, bool)
AddImageToSelection(string, bool)
AddImagesToSelection(List, bool)
RemoveImageFromSelection(string, bool)
RemoveImagesFromSelection(List, bool)
ClearImagesFromSelection()
GetSelectedImages(List)
ShowPublicTextOnScreen()
ShowTextureOnScreen()
SetShowOnScreen(ShowTextOnScreenFlag)
GetFonts(List)

Clone this wiki locally