PointSize QML Type

指定光栅化点的大小。可以静态设置,也可以由着色器程序设置。更多

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

RenderState

Status: Deprecated

属性

详细说明

sizeMode 属性设置为 SizeMode::Fixed 时,该值将通过 glPointSize() 设置(如果可用)。当使用 SizeMode::Programmable 时,gl_PointSize 必须在着色器程序中设置,在这种情况下,提供给RenderState 的值将被忽略。

属性文档

sizeMode : enumeration

指定要使用的 sizeMode(尺寸模式)。


value : real

指定要使用的点尺寸值。


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