"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from typing import Optional
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtDataVisualization

bytes = str


class Q3DLight(PySide6.QtDataVisualization.Q3DObject):
    """
    https://doc.qt.io/qt-6/q3dlight.html

    **Detailed Description**

    Q3DLight represents a monochrome light source in 3D space.

    **Note:** Default light has **isAutoPosition** () `true`.
    """

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None:
        """
        https://doc.qt.io/qt-6/q3dlight.html#Q3DLight

        **Q3DLight::Q3DLight(QObject * parent = nullptr)**

        Constructs a new 3D light located at origin. An optional **parent**
        parameter can be given and is then passed to **QObject**  constructor.
        """
        ...

    def isAutoPosition(self) -> bool:
        ...

    def setAutoPosition(self, enabled: bool) -> None:
        """
        https://doc.qt.io/qt-6/q3dlight.html#autoPosition-prop

        **[since QtDataVisualization 5.9] autoPosition : bool**

        This property holds whether the light position follows the camera
        automatically.

        **Note:** Has no effect if shadows are enabled. Remember to disable
        shadows before setting light's position, or it will be overwritten by
        automatic positioning if `isAutoPosition()` is `false`.

        This property was introduced in QtDataVisualization 5.9.

        **Access functions:**

        bool **isAutoPosition** ()
        void **setAutoPosition** (bool **enabled**
        )

        **Notifier signal:**

        void **autoPositionChanged** (bool **autoPosition** )

        **Member Function Documentation**
        """
        ...

    @property
    def autoPositionChanged(self) -> PySide6.QtCore.SignalInstance:
        ...
