Text2DEntity QML Type
Text2DEntity를 사용하면 3D 공간에서 2D 텍스트를 생성할 수 있습니다. 더 보기...
Import Statement: | import Qt3D.Extras 2.8 |
In C++: | QText2DEntity |
Status: | Deprecated |
속성
상세 설명
Text2DEntity는 텍스트를 XY 평면에서 삼각형으로 렌더링합니다. 지오메트리는 지정된 너비와 높이의 직사각형에 맞춰집니다. 결과 지오메트리가 지정된 너비보다 넓으면 나머지는 새 선에 렌더링됩니다.
트랜스폼 컴포넌트를 추가하여 엔티티를 장면에 배치할 수 있습니다.
Text2DEntity는 글리프의 모양과 지정된 색상을 사용하는 솔리드 머티리얼을 기반으로 지오메트리를 생성합니다.
속성 문서
alignment : Qt::Alignment |
* * * 텍스트의 정렬을 유지합니다.
color : color |
텍스트의 색을 유지합니다.
font : font |
텍스트의 글꼴을 유지합니다.
height : float |
텍스트의 경계 사각형의 높이를 유지합니다.
text : string |
메쉬에 사용된 텍스트를 보유합니다.
width : float |
텍스트의 경계 사각형의 너비를 유지합니다.
© 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.