Lens Scripting API

    Enumeration TextFillMode

    Used in TextFill's mode property. Controls which drawing method is used for the TextFill.

    // @input Component.Text textComponent
    // @input Asset.Texture texture

    script.textComponent.textFill.mode = TextFillMode.Texture;
    script.textComponent.textFill.texture = script.texture;
    Index

    Enumeration Members

    Enumeration Members

    Solid: number

    Solid color will be used for drawing.

    Texture: number

    Tiled texture will be used for drawing.

    MMNEPVFCICPMFPCPTTAAATR