textsettings - eisclimber/ExPresS-XR GitHub Wiki
Class in TimerUi
Inherits from System.Object
A helper class to hold the settings for the visualization text of a timer.
public class TextSettings| Name | Description |
|---|---|
| CountType | How the remaining time is displayed (i.e. count up or down). |
| DEFAULT_TIME_DISPLAY_FORMAT | Default format for displaying the remaining time. Uses string.Format. Any occurrence of '{0}' will be replaced with the time. |
| ShowMilliseconds | If only seconds or also milliseconds should be displayed. |
| TextEnabled | If the text should be shown. |
| TimeDisplayFormatter | A format string how the time is displayed. Uses string.Format. Any occurrence of '{0}' will be replaced with the time. |
| TimeoutText | Text displayed when the timer times out or isn't running. |
| TimeRoundType | How the remaining time is rounded when being displayed. |
| Name | Description |
|---|---|
| ResetVisualization() | Resets the visualization. |
| UpdateColors() | Updates the text color. |
| UpdateVisualization(float,float) | Updates the visualization of the time. |
| Name | Description |
|---|---|
| Color | Color of the text. |
| Text | Text to display the time. |