ExtrudedTextGeometry QML Type

돌출된 텍스트에 대한 지오메트리를 제공합니다. 더 보기...

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

Geometry

속성

상세 설명

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

메시의 원점은 텍스트 기준선의 왼쪽 뒤쪽 끝입니다.

속성 문서

asynchronous : bool

이 프로퍼티는 지오메트리 생성이 비동기식이어야 하는지 여부를 나타냅니다.


depth : real

이 프로퍼티는 돌출의 깊이를 보유합니다.


font : font

이 프로퍼티에는 텍스트를 렌더링하는 데 사용할 폰트가 저장됩니다.

참고: 메쉬 지오메트리는 글꼴의 pointSize에 의해 정규화되므로 pointSize가 클수록 텍스트가 커지지 않고 부드러워집니다. 픽셀 크기는 사용해서는 안 됩니다.


scale : real

이 속성은 지오메트리의 크기를 조정하는 방법에 대한 스칼라 값을 보유합니다. 이 속성은 돌출의 깊이가 아닌 텍스트의 크기에만 영향을 줍니다.


status : bool [read-only]

이 속성은 비동기가 참일 때 지오메트리 생성 상태를 유지합니다.

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

text : string

이 프로퍼티에는 돌출될 텍스트가 들어 있습니다.


© 2025 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.