Preparing search index...

    Advanced text layout configuration for controlling text appearance and spacing.

        const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;
    const scene = model.project.scene;

    const obj = scene.createSceneObject('AdvLayoutTextObj');
    const text = obj.addComponent('Text') as Editor.Components.Text;

    text.text = 'Advanced Layout';
    const layout = text.advancedLayout;
    layout.letterSpacing = 0.05;
    layout.lineSpacing = 1.2;
    console.log(`TextAdvancedLayout: letterSpacing=${layout.letterSpacing}, lineSpacing=${layout.lineSpacing}`);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    capitalizationOverride: CapitalizationOverride

    Override for text capitalization behavior.

    extentsTarget: ScreenTransform

    Screen transform target for text extents.

    id: Uuid

    The unique id of the entity.

    letterSpacing: number

    Spacing between individual characters.

    lineSpacing: number

    Spacing between text lines.

    meta: Meta

    Metadata associated with this entity, providing access to its unique identifier and other descriptive properties.

    type: string

    The entity's type.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean