| 1 | // This file is generated. Do not edit. |
|---|---|
| 2 | |
| 3 | #pragma once |
| 4 | |
| 5 | #include <mbgl/style/property_value.hpp> |
| 6 | #include <mbgl/style/transition_options.hpp> |
| 7 | #include <mbgl/style/types.hpp> |
| 8 | #include <mbgl/util/immutable.hpp> |
| 9 | |
| 10 | namespace mbgl { |
| 11 | namespace style { |
| 12 | |
| 13 | class LightObserver; |
| 14 | |
| 15 | class Light { |
| 16 | public: |
| 17 | Light(); |
| 18 | ~Light(); |
| 19 | |
| 20 | static LightAnchorType getDefaultAnchor(); |
| 21 | PropertyValue<LightAnchorType> getAnchor() const; |
| 22 | void setAnchor(PropertyValue<LightAnchorType>); |
| 23 | void setAnchorTransition(const TransitionOptions&); |
| 24 | TransitionOptions getAnchorTransition() const; |
| 25 | |
| 26 | static Position getDefaultPosition(); |
| 27 | PropertyValue<Position> getPosition() const; |
| 28 | void setPosition(PropertyValue<Position>); |
| 29 | void setPositionTransition(const TransitionOptions&); |
| 30 | TransitionOptions getPositionTransition() const; |
| 31 | |
| 32 | static Color getDefaultColor(); |
| 33 | PropertyValue<Color> getColor() const; |
| 34 | void setColor(PropertyValue<Color>); |
| 35 | void setColorTransition(const TransitionOptions&); |
| 36 | TransitionOptions getColorTransition() const; |
| 37 | |
| 38 | static float getDefaultIntensity(); |
| 39 | PropertyValue<float> getIntensity() const; |
| 40 | void setIntensity(PropertyValue<float>); |
| 41 | void setIntensityTransition(const TransitionOptions&); |
| 42 | TransitionOptions getIntensityTransition() const; |
| 43 | |
| 44 | class Impl; |
| 45 | Immutable<Impl> impl; |
| 46 | Mutable<Impl> mutableImpl() const; |
| 47 | |
| 48 | LightObserver* observer = nullptr; |
| 49 | void setObserver(LightObserver*); |
| 50 | }; |
| 51 | |
| 52 | } // namespace style |
| 53 | } // namespace mbgl |
| 54 |
