CharFXTransform

    Controls how an individual character will be displayed in a .

    By setting various properties on this object, you can control how individual characters will be displayed in a RichTextEffect.

    • int absolute_index
    Default0
    Setterset_absolute_index(value)
    Getterget_absolute_index()

    The index of the current character (starting from 0). Setting this property won’t affect drawing.


    • character
    Default0
    Setterset_character(value)
    Getterget_character()

    The color the character will be drawn with.


    Default0.0
    Setterset_elapsed_time(value)
    Getterget_elapsed_time()

    The time elapsed since the was added to the scene tree (in seconds). Time stops when the project is paused, unless the RichTextLabel‘s is set to Node.PAUSE_MODE_PROCESS.

    Note: Time still passes while the is hidden.


    Default{}
    Setterset_environment(value)
    Getterget_environment()

    For example, the opening BBCode tag [example foo=hello bar=true baz=42 color=#ffffff] will map to the following :

    1. {"foo": "hello", "bar": true, "baz": 42, "color": Color(1, 1, 1, 1)}

    The position offset the character will be drawn with (in pixels).


    • relative_index
    Default0
    Setterset_relative_index(value)
    Getterget_relative_index()

    The index of the current character (starting from 0). Setting this property won’t affect drawing.


    Defaulttrue
    Setterset_visibility(value)
    Getteris_visible()