17 #ifndef SDF_MATERIAL_HH_ 18 #define SDF_MATERIAL_HH_ 21 #include <ignition/utils/ImplPtr.hh> 24 #include "sdf/sdf_config.h" 30 inline namespace SDF_VERSION_NAMESPACE {
62 public: ignition::math::Color Ambient()
const;
68 public:
void SetAmbient(
const ignition::math::Color &_color);
74 public: ignition::math::Color Diffuse()
const;
80 public:
void SetDiffuse(
const ignition::math::Color &_color);
86 public: ignition::math::Color Specular()
const;
92 public:
void SetSpecular(
const ignition::math::Color &_color);
98 public: ignition::math::Color Emissive()
const;
104 public:
void SetEmissive(
const ignition::math::Color &_color);
108 public:
float RenderOrder()
const;
112 public:
void SetRenderOrder(
const float _renderOrder);
117 public:
bool Lighting()
const;
121 public:
void SetLighting(
const bool _lighting);
126 public:
bool DoubleSided()
const;
130 public:
void SetDoubleSided(
bool _doubleSided);
141 public: std::string ScriptUri()
const;
145 public:
void SetScriptUri(
const std::string &_uri);
152 public: std::string ScriptName()
const;
157 public:
void SetScriptName(
const std::string &_name);
165 public:
void SetShader(
const ShaderType &_type);
171 public: std::string NormalMap()
const;
175 public:
void SetNormalMap(
const std::string &_map);
179 public:
void SetPbrMaterial(
const Pbr &_pbr);
183 public:
const Pbr *PbrMaterial()
const;
187 public:
const std::string &FilePath()
const;
191 public:
void SetFilePath(
const std::string &_filePath);
194 IGN_UTILS_IMPL_PTR(dataPtr)
This class provides access to Physically-Based-Rendering (PBR) material workflows.
Definition: Pbr.hh:238
This class contains visual material properties.
Definition: Material.hh:45
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:98
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
namespace for Simulation Description Format parser
Definition: Actor.hh:33
ShaderType
Definition: Material.hh:36