21#include <ignition/math/Color.hh>
22#include <ignition/utils/ImplPtr.hh>
26#include "sdf/sdf_config.h"
32 inline namespace SDF_VERSION_NAMESPACE {
40 public:
double Time()
const;
117 IGN_UTILS_IMPL_PTR(dataPtr)
double Time() const
Get time of day [0..24].
double Sunset() const
Get sunset time.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
ignition::math::Angle CloudDirection() const
Get cloud direction angle (angle around up axis)
void SetSunset(double _time)
Set Sunset time.
ignition::math::Color CloudAmbient() const
Get cloud ambient color.
void SetTime(double _time)
Set time of day.
void SetCloudAmbient(const ignition::math::Color &_ambient)
Set cloud ambient color.
void SetCloudDirection(const ignition::math::Angle &_angle)
Set cloud direction angle (angle around up axis)
double CloudMeanSize() const
Get cloud mean size.
Errors Load(ElementPtr _sdf)
Load the sky based on a element pointer.
double CloudHumidity() const
Get cloud humidity.
void SetCloudHumidity(double _humidity)
Set cloud humidity.
void SetSunrise(double _time)
Set Sunrise time.
double Sunrise() const
Get sunrise time.
double CloudSpeed() const
Get cloud speed.
void SetCloudSpeed(double _speed)
Set cloud speed.
void SetCloudMeanSize(double _size)
Set cloud mean siz.
Sky()
Default constructor.
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54
namespace for Simulation Description Format parser
Definition: Actor.hh:34
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41