documentation

Visometry.VisionLib.SDK.Examples.InvariantCultureTextField Class Reference

The InvariantCultureTextField makes it possible to set the text of a Text component using different parameter types. More...

Inherits MonoBehaviour.

Public Member Functions

void SetText (bool value)
 Sets the text using a boolean.
 
void SetText (float value)
 Sets the text using a floating point number.
 
void SetText (int value)
 Sets the text using an integer.
 
void SetText (string value)
 Sets the text using a string.
 

Data Fields

string formatSpecifier
 Format specifies for the conversion to a string. More...
 

Detailed Description

The InvariantCultureTextField makes it possible to set the text of a Text component using different parameter types.

Field Documentation

◆ formatSpecifier

string Visometry.VisionLib.SDK.Examples.InvariantCultureTextField.formatSpecifier

Format specifies for the conversion to a string.

See the documentation for "Standard Numeric Format Strings" in C# for further details.