three-msdf-text
    Preparing search index...

    Class TextGeometry

    Hierarchy

    • BufferGeometry
      • TextGeometry
    Index

    Constructors

    Properties

    computedHeight: number
    computedWidth: number
    layout: TextLayout
    lineCount: number
    recordedAttributes: Record<Attribute, boolean>

    Accessors

    Methods

    • Computes the bounding box of the geometry, and updates the .boundingBox attribute. The bounding box is not computed by the engine; it must be computed by your app. You may need to recompute the bounding box if the geometry vertices are modified.

      Returns void

    • 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