21 #include <ignition/math/Color.hh>
25 #include "sdf/sdf_config.h"
31 inline namespace SDF_VERSION_NAMESPACE {
65 public:
double Time()
const;
142 private: SkyPrivate *dataPtr =
nullptr;
void SetSunset(double _time)
Set Sunset time.
void SetCloudDirection(const ignition::math::Angle &_angle)
Set cloud direction angle (angle around up axis)
void SetCloudSpeed(double _speed)
Set cloud speed.
double Sunset() const
Get sunset time.
Sky(const Sky &_sky)
Copy constructor.
Sky(Sky &&_sky) noexcept
Move constructor.
void SetTime(double _time)
Set time of day.
Sky()
Default constructor.
Sky & operator=(const Sky &_sky)
Assignment operator.
void SetSunrise(double _time)
Set Sunrise time.
Errors Load(ElementPtr _sdf)
Load the sky based on a element pointer.
ignition::math::Angle CloudDirection() const
Get cloud direction angle (angle around up axis)
double Time() const
Get time of day [0..24].
void SetCloudAmbient(const ignition::math::Color &_ambient)
Set cloud ambient color.
ignition::math::Color CloudAmbient() const
Get cloud ambient color.
Sky & operator=(Sky &&_sky)
Move assignment operator.
double Sunrise() const
Get sunrise time.
double CloudMeanSize() const
Get cloud mean size.
void SetCloudMeanSize(double _size)
Set cloud mean siz.
void SetCloudHumidity(double _humidity)
Set cloud humidity.
double CloudHumidity() const
Get cloud humidity.
double CloudSpeed() const
Get cloud speed.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:33
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48