diff options
Diffstat (limited to 'include/mbgl/style/layers/hillshade_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/hillshade_layer.hpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/mbgl/style/layers/hillshade_layer.hpp b/include/mbgl/style/layers/hillshade_layer.hpp index 760e70aa75..d2eebadf9d 100644 --- a/include/mbgl/style/layers/hillshade_layer.hpp +++ b/include/mbgl/style/layers/hillshade_layer.hpp @@ -25,38 +25,38 @@ public: // Paint properties static PropertyValue<float> getDefaultHillshadeIlluminationDirection(); - PropertyValue<float> getHillshadeIlluminationDirection() const; - void setHillshadeIlluminationDirection(PropertyValue<float>); + const PropertyValue<float>& getHillshadeIlluminationDirection() const; + void setHillshadeIlluminationDirection(const PropertyValue<float>&); void setHillshadeIlluminationDirectionTransition(const TransitionOptions&); TransitionOptions getHillshadeIlluminationDirectionTransition() const; static PropertyValue<HillshadeIlluminationAnchorType> getDefaultHillshadeIlluminationAnchor(); - PropertyValue<HillshadeIlluminationAnchorType> getHillshadeIlluminationAnchor() const; - void setHillshadeIlluminationAnchor(PropertyValue<HillshadeIlluminationAnchorType>); + const PropertyValue<HillshadeIlluminationAnchorType>& getHillshadeIlluminationAnchor() const; + void setHillshadeIlluminationAnchor(const PropertyValue<HillshadeIlluminationAnchorType>&); void setHillshadeIlluminationAnchorTransition(const TransitionOptions&); TransitionOptions getHillshadeIlluminationAnchorTransition() const; static PropertyValue<float> getDefaultHillshadeExaggeration(); - PropertyValue<float> getHillshadeExaggeration() const; - void setHillshadeExaggeration(PropertyValue<float>); + const PropertyValue<float>& getHillshadeExaggeration() const; + void setHillshadeExaggeration(const PropertyValue<float>&); void setHillshadeExaggerationTransition(const TransitionOptions&); TransitionOptions getHillshadeExaggerationTransition() const; static PropertyValue<Color> getDefaultHillshadeShadowColor(); - PropertyValue<Color> getHillshadeShadowColor() const; - void setHillshadeShadowColor(PropertyValue<Color>); + const PropertyValue<Color>& getHillshadeShadowColor() const; + void setHillshadeShadowColor(const PropertyValue<Color>&); void setHillshadeShadowColorTransition(const TransitionOptions&); TransitionOptions getHillshadeShadowColorTransition() const; static PropertyValue<Color> getDefaultHillshadeHighlightColor(); - PropertyValue<Color> getHillshadeHighlightColor() const; - void setHillshadeHighlightColor(PropertyValue<Color>); + const PropertyValue<Color>& getHillshadeHighlightColor() const; + void setHillshadeHighlightColor(const PropertyValue<Color>&); void setHillshadeHighlightColorTransition(const TransitionOptions&); TransitionOptions getHillshadeHighlightColorTransition() const; static PropertyValue<Color> getDefaultHillshadeAccentColor(); - PropertyValue<Color> getHillshadeAccentColor() const; - void setHillshadeAccentColor(PropertyValue<Color>); + const PropertyValue<Color>& getHillshadeAccentColor() const; + void setHillshadeAccentColor(const PropertyValue<Color>&); void setHillshadeAccentColorTransition(const TransitionOptions&); TransitionOptions getHillshadeAccentColorTransition() const; |