이 페이지에서

ExtrudedTextGeometry QML Type

돌출된 텍스트의 형상을 제공합니다. 더 보기...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.9
Inherits:

Geometry

속성

상세 설명

ExtrudedTextGeometry는 돌출된 텍스트에 대한 지오메트리를 제공합니다. 텍스트는 z축을 따라 돌출됩니다. 텍스트와 글꼴을 설정할 수 있으며, 돌출 깊이를 조절할 수 있습니다. 생성된 지오메트리의 크기는 scale 및 depth 속성에 의해 제어됩니다. 지오메트리의 토폴로지는 font.pointSize에 의해 정의됩니다.

메시의 원점은 텍스트 베이스라인의 뒤쪽 왼쪽 끝입니다.

속성 설명

asynchronous : bool

이 속성은 지오메트리 생성이 비동기적으로 이루어져야 하는지 여부를 나타냅니다.

depth : real

이 속성은 돌출의 깊이를 나타냅니다.

font : font

이 속성은 텍스트를 렌더링하는 데 사용될 글꼴을 지정합니다.

참고: 메쉬지오메트리는 글꼴의 pointSize에 따라 정규화되므로, pointSize 값이 클수록 텍스트가 더 커지는 것이 아니라 더 매끄럽게 표시됩니다. pixelSize는 사용해서는 안 됩니다.

scale : real

이 속성은 지오메트리를 어떻게 확대/축소해야 하는지를 나타내는 스칼라 값을 가집니다. 이 속성은 텍스트의 크기에만 영향을 미치며, 돌출의 깊이에는 영향을 미치지 않습니다.

status : bool [read-only]

이 속성은 'asynchronous'가 true일 때 지오메트리 생성 상태를 유지합니다.

상수설명
ExtrudedTextGeometry.Null지오메트리 생성이 시작되지 않았습니다.
ExtrudedTextGeometry.Ready지오메트리 생성이 완료되었습니다.
ExtrudedTextGeometry.Loading지오메트리 생성이 진행 중입니다.
ExtrudedTextGeometry.Error지오메트리 생성에 실패했습니다.

text : string

이 속성에는 돌출 처리될 텍스트가 저장됩니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.