MeatMotion

TextMeshProMotionExtensions

Animate TMP_Text content, visibility and spacing. Glyph bindings take a character index for per-character motion and color.

Namespace
MeatMotion.Extensions
Assembly
MeatMotion.UI

Jump to members

public static partial class TextMeshProMotionExtensions

Requires com.unity.ugui, com.unity.ugui (2.0.0)

TMPCharacterBindings.cs · L18

Members

BindToTMPChar

Update glyph data on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPChar(this FloatMotionBuilder builder, TMP_Text text, int charIndex, TMPCharacterMotionUpdateAction<float> action)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
action
TMPCharacterMotionUpdateAction<float> Update glyph data on the glyph at charIndex in the bound text.
Returns
MotionHandle
public static MotionHandle BindToTMPChar<TValue, TOptions, TAdapter>(this MotionBuilder<TValue, TOptions, TAdapter> builder, TMP_Text text, int charIndex, TMPCharacterMotionUpdateAction<TValue> action)
    where TValue : unmanaged
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<TValue, TOptions>
Parameters and return value
builder
this MotionBuilder<TValue, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
action
TMPCharacterMotionUpdateAction<TValue> Update glyph data on the glyph at charIndex in the bound text.
Returns
MotionHandle

BindToTMPCharColor

Update Color on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharColor<TOptions, TAdapter>(this MotionBuilder<Color, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Color, TOptions>
Parameters and return value
builder
this MotionBuilder<Color, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharColorR

Update ColorR on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharColorR(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharColorR<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharColorG

Update ColorG on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharColorG(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharColorG<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharColorB

Update ColorB on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharColorB(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharColorB<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharColorA

Update ColorA on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharColorA(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharColorA<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPosition

Update Position on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPosition<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector3, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector3, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPositionX

Update PositionX on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPositionX(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharPositionX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPositionY

Update PositionY on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPositionY(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharPositionY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPositionZ

Update PositionZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPositionZ(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharPositionZ<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPositionXY

Update PositionXY on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPositionXY<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPositionYZ

Update PositionYZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPositionYZ<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharPositionXZ

Update PositionXZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharPositionXZ<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharRotation

Update Rotation on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharRotation<TOptions, TAdapter>(this MotionBuilder<Quaternion, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Quaternion, TOptions>
Parameters and return value
builder
this MotionBuilder<Quaternion, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAngles

Update EulerAngles on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAngles<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector3, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector3, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAnglesX

Update EulerAnglesX on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAnglesX(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharEulerAnglesX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAnglesY

Update EulerAnglesY on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAnglesY(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharEulerAnglesY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAnglesZ

Update EulerAnglesZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAnglesZ(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharEulerAnglesZ<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAnglesXY

Update EulerAnglesXY on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAnglesXY<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAnglesYZ

Update EulerAnglesYZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAnglesYZ<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharEulerAnglesXZ

Update EulerAnglesXZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharEulerAnglesXZ<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScale

Update Scale on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScale<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector3, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector3, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleX

Update ScaleX on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScaleX(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharScaleX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleY

Update ScaleY on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScaleY(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharScaleY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleZ

Update ScaleZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScaleZ(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharScaleZ<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleXY

Update ScaleXY on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScaleXY<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleYZ

Update ScaleYZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScaleYZ<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleXZ

Update ScaleXZ on the glyph at charIndex in the bound text.

public static MotionHandle BindToTMPCharScaleXZ<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
Parameters and return value
builder
this MotionBuilder<Vector2, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToTMPCharScaleXYZ

Set all three scale components of the glyph at charIndex to the same float.

public static MotionHandle BindToTMPCharScaleXYZ(this FloatMotionBuilder builder, TMP_Text text, int charIndex)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle
public static MotionHandle BindToTMPCharScaleXYZ<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, int charIndex)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
charIndex
int Index of the TextMeshPro character to animate.
Returns
MotionHandle

BindToFontSize

Schedule a tween that writes the interpolated value to FontSize on the bound target and return its MotionHandle.

public static MotionHandle BindToFontSize(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToFontSize<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToMaxVisibleCharacters

Schedule a tween that writes the interpolated value to MaxVisibleCharacters on the bound target and return its MotionHandle.

public static MotionHandle BindToMaxVisibleCharacters<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
Parameters and return value
builder
this MotionBuilder<int, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToMaxVisibleLines

Schedule a tween that writes the interpolated value to MaxVisibleLines on the bound target and return its MotionHandle.

public static MotionHandle BindToMaxVisibleLines<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
Parameters and return value
builder
this MotionBuilder<int, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToMaxVisibleWords

Schedule a tween that writes the interpolated value to MaxVisibleWords on the bound target and return its MotionHandle.

public static MotionHandle BindToMaxVisibleWords<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
Parameters and return value
builder
this MotionBuilder<int, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToCharacterSpacing

Schedule a tween that writes the interpolated value to CharacterSpacing on the bound target and return its MotionHandle.

public static MotionHandle BindToCharacterSpacing(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToCharacterSpacing<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToWordSpacing

Schedule a tween that writes the interpolated value to WordSpacing on the bound target and return its MotionHandle.

public static MotionHandle BindToWordSpacing(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToWordSpacing<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToParagraphSpacing

Schedule a tween that writes the interpolated value to ParagraphSpacing on the bound target and return its MotionHandle.

public static MotionHandle BindToParagraphSpacing(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToParagraphSpacing<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToLineSpacing

Schedule a tween that writes the interpolated value to LineSpacing on the bound target and return its MotionHandle.

public static MotionHandle BindToLineSpacing(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToLineSpacing<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToColor

Schedule a tween that writes the interpolated value to Color on the bound target and return its MotionHandle.

public static MotionHandle BindToColor<TOptions, TAdapter>(this MotionBuilder<Color, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Color, TOptions>
Parameters and return value
builder
this MotionBuilder<Color, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToColorR

Update only the R channel of Color, retaining the other color components.

public static MotionHandle BindToColorR(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToColorR<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToColorG

Update only the G channel of Color, retaining the other color components.

public static MotionHandle BindToColorG(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToColorG<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToColorB

Update only the B channel of Color, retaining the other color components.

public static MotionHandle BindToColorB(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToColorB<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToColorA

Update only the A channel of Color, retaining the other color components.

public static MotionHandle BindToColorA(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToColorA<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle

BindToText

Write interpolated text or a formatted numeric value to the text component.

public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString32Bytes, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString32Bytes, TOptions>
Parameters and return value
builder
this MotionBuilder<FixedString32Bytes, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString64Bytes, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString64Bytes, TOptions>
Parameters and return value
builder
this MotionBuilder<FixedString64Bytes, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString128Bytes, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString128Bytes, TOptions>
Parameters and return value
builder
this MotionBuilder<FixedString128Bytes, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString512Bytes, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString512Bytes, TOptions>
Parameters and return value
builder
this MotionBuilder<FixedString512Bytes, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString4096Bytes, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString4096Bytes, TOptions>
Parameters and return value
builder
this MotionBuilder<FixedString4096Bytes, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
Parameters and return value
builder
this MotionBuilder<int, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TMP_Text text, string format)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
Parameters and return value
builder
this MotionBuilder<int, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
format
string Format string for converting the sampled value to text.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<long, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<long, TOptions>
Parameters and return value
builder
this MotionBuilder<long, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<long, TOptions, TAdapter> builder, TMP_Text text, string format)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<long, TOptions>
Parameters and return value
builder
this MotionBuilder<long, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
format
string Format string for converting the sampled value to text.
Returns
MotionHandle
public static MotionHandle BindToText(this FloatMotionBuilder builder, TMP_Text text)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
Returns
MotionHandle
public static MotionHandle BindToText(this FloatMotionBuilder builder, TMP_Text text, string format)
Parameters and return value
builder
this FloatMotionBuilder Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
format
string Format string for converting the sampled value to text.
Returns
MotionHandle
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TMP_Text text, string format)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
Parameters and return value
builder
this MotionBuilder<float, TOptions, TAdapter> Configured builder, passed as the receiver for extension calls.
text
TMP_Text Target TMP_Text that receives the update.
format
string Format string for converting the sampled value to text.
Returns
MotionHandle