Nesta página

Light QML Type

Incorpore um objeto `QAbstractLight` em uma cena ` Qt 3D `. Mais...

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

DirectionalLight, PointLight, and SpotLight

Status: Deprecated

Este tipo está obsoleto. Recomendamos enfaticamente que você não o utilize em códigos novos.

Propriedades

  • type : enumeration

Descrição detalhada

Documentação do imóvel

type : enumeration [read-only]

Contém esse tipo específico de luz.

ConstanteDescrição
Light.PointLightUma luz pontual
Light.DirectionalLightUma luz direcional
Light.SpotLightuma luz de foco

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