Contents

text

The attributed string this component renders.

Declaration

var text: AttributedString?

Discussion

RealityKit renders text centered vertically. Neither the length of the string nor the specified attributes affect the size of the canvas mesh.