在本页

Light QML Type

Qt 3D 场景中封装 QAbstractLight 对象。更多

Import Statement: import Qt3D.Render 2.11
In C++: QAbstractLight
Inherited By:

DirectionalLight, PointLight, and SpotLight

Status: Deprecated

属性

  • type : enumeration

详细说明

财产文件

type : enumeration [read-only]

保持特定类型的光线。

常数描述
Light.PointLight点光源
Light.DirectionalLight定向光
Light.SpotLight聚光灯

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