Skip to content
  • VirtualLighting
  • class Esri::ArcGISRuntime::VirtualLighting

    A lighting type where the position of the light follows the camera and is set behind the camera with a small offset. More...

    Header: #include <VirtualLighting.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::SceneLighting

    Public Functions

    VirtualLighting(bool areDirectShadowsEnabled, QObject *parent = nullptr)
    virtual ~VirtualLighting() override

    Detailed Description

    Relevant samples:

    • Configure scene environment: Configure the environment settings in a local scene to change the lighting conditions and background appearance.

    See also SceneEnvironment.

    Member Function Documentation

    [explicit] VirtualLighting::VirtualLighting(bool areDirectShadowsEnabled, QObject *parent = nullptr)

    Creates a virtual lighting for illuminating a scene.

    • areDirectShadowsEnabled - True if shadows cast by the sun are shown, false otherwise.
    • parent - The optional parent QObject.

    [override virtual noexcept] VirtualLighting::~VirtualLighting()

    Destructor.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.