23 #include <gz/math/Color.hh>
24 #include <gz/utils/ImplPtr.hh>
34 inline namespace SDF_VERSION_NAMESPACE {
47 public:
double Time()
const;
155 GZ_UTILS_IMPL_PTR(dataPtr)
This class contains configuration options for the libsdformat parser.
Definition: ParserConfig.hh:100
void SetSunset(double _time)
Set Sunset time.
void SetCloudDirection(const gz::math::Angle &_angle)
Set cloud direction angle (angle around up axis)
void SetCubemapUri(const std::string &_uri)
Set the skybox texture URI.
const std::string & CubemapUri() const
Get the skybox texture URI.
double Sunset() const
Get sunset time.
sdf::ElementPtr ToElement() const
Create and return an SDF element filled with data from this sky.
Errors Load(ElementPtr _sdf, const ParserConfig &_config)
Load the sky based on a element pointer.
void SetSunrise(double _time)
Set Sunrise time.
double CloudSpeed() const
Get cloud speed.
double Sunrise() const
Get sunrise time.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
void SetTime(double _time)
Set time of day.
double CloudMeanSize() const
Get cloud mean size.
gz::math::Color CloudAmbient() const
Get cloud ambient color.
void SetCloudMeanSize(double _size)
Set cloud mean siz.
Sky()
Default constructor.
void SetCloudHumidity(double _humidity)
Set cloud humidity.
Errors Load(ElementPtr _sdf)
Load the sky based on a element pointer.
sdf::ElementPtr ToElement(sdf::Errors &_errors) const
Create and return an SDF element filled with data from this sky.
void SetCloudAmbient(const gz::math::Color &_ambient)
Set cloud ambient color.
double CloudHumidity() const
Get cloud humidity.
gz::math::Angle CloudDirection() const
Get cloud direction angle (angle around up axis)
void SetCloudSpeed(double _speed)
Set cloud speed.
double Time() const
Get time of day [0..24].
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:55
namespace for Simulation Description Format parser
Definition: Actor.hh:35
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:25