本页内容

PointSize QML Type

指定栅格化点的大小。既可以静态设置,也可以通过着色器程序设置。更多...

Import Statement: import Qt3D.Render 2.12
In C++: QPointSize
Inherits:

RenderState

Status: Deprecated

此类型已弃用。我们强烈建议不要在新代码中使用它。

属性

详细说明

当sizeMode 属性设置为SizeMode::Fixed时,若条件允许,将通过glPointSize()函数设置该值。当使用SizeMode::Programmable时,必须在着色器程序中设置gl_PointSize;在此情况下,提供给此RenderState 的值将被忽略。

属性文档

sizeMode : enumeration

指定要使用的 sizeMode。

value : real

指定要使用的点大小值。

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