Catlike Coding
Unity Code Documentation
Classes | Enumerations | Functions
Package CatlikeCoding.TextBox

Classes

struct  AppliedTextStyle
 Text styling data used to render characters. More...
 
class  BitmapFont
 Bitmap font definition. Supports all non-control non-modifier characters in the Basic Multilingual Plane. More...
 
class  BitmapFontChar
 Definition of a character in a bitmap font. More...
 
struct  CharMetaData
 Meta data of a character. More...
 
class  ClippedTextBox
 Clipped element that adds clipping support to a text box. More...
 
class  ClippedTextBoxCollider3D
 Clipped element that adds clipping support to a text box and also manages a 3D box collider. More...
 
struct  LineDescent
 Line descent data. More...
 
class  TextBox
 Text Box component. Uses child objects to render the text. More...
 
struct  TextBoxCharInfo
 Information about a character in a text box. More...
 
struct  TextBoxCursorInfo
 Information about how to place a cursor in a text box. More...
 
struct  TextBoxLine
 Text box line data. More...
 
class  TextMeshCircleRenderer
 TextRenderer subclass that wraps around a circle. More...
 
class  TextMeshCircleSettings
 Settings component for text mesh torus renderers. More...
 
class  TextMeshCylinderRenderer
 TextRenderer subclass that wraps around a cylinder. More...
 
class  TextMeshCylinderSettings
 Settings component for text mesh torus renderers. More...
 
class  TextMeshRenderer
 TextRenderer that uses a dynamically-growing mesh to show sprites. More...
 
class  TextMeshTorusRenderer
 TextRenderer subclass that wraps around a torus. More...
 
class  TextMeshTorusSettings
 Settings component for text mesh torus renderers. More...
 
class  TextRenderer
 Base class for text renderers. These end up as child objects of a text box. More...
 
class  TextStyle
 Text style definition. More...
 
class  TextStyleCollection
 Text style collection. Used by text boxes. More...
 

Enumerations

enum  AlignmentMode {
  AlignmentMode.Left, AlignmentMode.Center, AlignmentMode.Right, AlignmentMode.Justify,
  AlignmentMode.JustifyComplete
}
 How to align text. More...
 
enum  CharType { CharType.Meta, CharType.Visible, CharType.Whitespace }
 Character type. More...
 
enum  CylinderRevolveAxis { CylinderRevolveAxis.X, CylinderRevolveAxis.Y }
 The axis to revolve a cylinder around. More...
 
enum  HorizontalAnchorMode { HorizontalAnchorMode.Left, HorizontalAnchorMode.Center, HorizontalAnchorMode.Right }
 How to anchor text horizontally. More...
 
enum  TextMeshRendererUV2Mode { TextMeshRendererUV2Mode.None, TextMeshRendererUV2Mode.TextBox, TextMeshRendererUV2Mode.Character }
 UV2 Mode for TextMeshRenderer. More...
 
enum  TorusRevolveAxis { TorusRevolveAxis.X, TorusRevolveAxis.Y }
 The axis to revolve a torus around. More...
 
enum  VerticalAnchorMode { VerticalAnchorMode.Top, VerticalAnchorMode.Middle, VerticalAnchorMode.Bottom }
 How to anchor text vertically. More...
 

Functions

delegate void TextBoxEventHandler (TextBox textBox)
 Handler for TextBox events. More...
 

Enumeration Type Documentation

How to align text.

Enumerator
Left 

Align text to the left.

Center 

Align text in the center.

Right 

Align text to the right.

Justify 

Justify text, stretching word-wrapped lines to fill the entire width.

Lines with a newline character in it are not stretched. So the last line of a paragraph is left-aligned.

JustifyComplete 

Justify text, stretching all lines to fill the entire width.

Lines with a single word in them are not streched and will be left-aligned.

Character type.

Enumerator
Meta 

Part of a meta statement.

Visible 

Visible character.

Whitespace 

Whitespace character.

The axis to revolve a cylinder around.

Enumerator
X 

Revolve around the X axis.

Y 

Revolve around the Y axis.

How to anchor text horizontally.

Enumerator
Left 

Anchor at the left.

Center 

Anchor at the center.

Right 

Anchor at the right.

UV2 Mode for TextMeshRenderer.

Enumerator
None 

UV2 are not used.

TextBox 

UV2 cover the width and max height of the text box.

Character 

UV2 cover each character.

The axis to revolve a torus around.

Enumerator
X 

Revolve around the X axis.

Y 

Revolve around the Y axis.

How to anchor text vertically.

Enumerator
Top 

Anchor at the top.

Middle 

Anchor at the middle.

Bottom 

Anchor at the bottom.

Function Documentation

delegate void CatlikeCoding.TextBox.TextBoxEventHandler ( TextBox  textBox)

Handler for TextBox events.