Class TextGeometry

Hierarchy

  • BufferGeometry

    Hierarchy

    • TextGeometry

Constructors

Properties

computedHeight: number
computedWidth: number
layout: TextLayout
lineCount: number
recordedAttributes: Record<"normal" | "id" | "charIndex" | "position" | "uv" | "charUv" | "charPosition" | "lineIndex" | "charSize" | "wordIndex" | "lineCharIndex" | "lineWordIndex" | "lineWordCount" | "lineCharCount", boolean>

Accessors

Methods

  • Update buffers with new layout

    Parameters

    • width: number | "auto"
    • height: number | "auto" = 'auto'

    Returns void

  • Update text and re-compute geometry (like creating new Text)

    Parameters

    • text: string

    Returns void

Generated using TypeDoc