Encapsulate a Directional Light object in a Qt 3D scene. 更多 …
def
worldDirection
()
def
setWorldDirection
(worldDirection)
def
worldDirectionChanged
(worldDirection)
A directional light is a light source that behaves similar to sunlight. The light from a directional light hits all objects from the same direction and with the same intensity, regardless of where they are in the scene.
PySide2.Qt3DRender.Qt3DRender.
QDirectionalLight
(
[
parent=None
]
)
¶
- param parent
QNode
构造新
QDirectionalLight
with the specified
parent
.
PySide2.Qt3DRender.Qt3DRender.QDirectionalLight.
setWorldDirection
(
worldDirection
)
¶
worldDirection
–
QVector3D
另请参阅
PySide2.Qt3DRender.Qt3DRender.QDirectionalLight.
worldDirection
(
)
¶
QVector3D
另请参阅
PySide2.Qt3DRender.Qt3DRender.QDirectionalLight.
worldDirectionChanged
(
worldDirection
)
¶
worldDirection
–
QVector3D