CharInfo
Info
typeStruct
namespaceAnimatext
Fields
Public
charactercharThe character value.
colorGroupColorGroupThe color information of the character.
isVisibleboolWhether the character is visible.
originIndexintThe index of the origin text.
outputIndexintThe index of the output text.
parsedIndexintThe index of the parsed text.
positionGroupPositionGroupThe position information of the character.
Constructors
-
CharInfo(char character, int originIndex, int parsedIndex, int outputIndex)
characterThe character value.
originIndexThe index of the origin text.
parsedIndexThe index of the parsed text.
outputIndexThe index of the output text.
Methods
Public
Color(Color color)Colors the character.
Color(Color color, ColorMode colorMode)Colors the character.
Execute()Executes the text animations of the character.
Move(Vector2 position)Moves the character.
Opacify(float opacity)Opacifies the character.
Opacify(float opacity, ColorMode colorMode)Opacifies the character.
Rotate(float rotation)Rotates the character.
Rotate(float rotation, Vector2 anchorPoint)Rotates the character around the anchor point.
Scale(Vector2 scale)Scales the character.
Scale(Vector2 scale, Vector2 anchorPoint)Scales the character around the anchor point.
SetColors(Color[] colors)Sets the origin colors of the character.
SetPositions(Vector3[] positions)Sets the origin positions of the character.
Skew(Vector2 skew)Skews the character.
Skew(Vector2 skew, Vector2 anchorPoint)Skews the character around the anchor point.
Static Public
IsValidChar(char character)boolWhether the character is valid. Returns false if the character is a control character.
IsVisibleChar(char character)boolWhether the character is visible. Returns false if the character is a space character or a control character.