Gazebo Msgs

API Reference

9.5.1

#include <material.pb.h>

Public Types

typedef Material_PBR PBR
 
typedef Material_Script Script
 
typedef Material_ShaderType ShaderType
 

Public Member Functions

 Material ()
 
 Material (const Material &from)
 
virtual ~Material ()
 
const ::gz::msgs::Colorambient () const
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_ambient ()
 
void clear_diffuse ()
 
void clear_double_sided ()
 
void clear_emissive ()
 
void clear_header ()
 
void clear_lighting ()
 
void clear_normal_map ()
 
void clear_pbr ()
 
void clear_render_order ()
 
void clear_script ()
 
void clear_shader_type ()
 
void clear_shininess ()
 
void clear_specular ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Material &from)
 
const ::gz::msgs::Colordiffuse () const
 
bool double_sided () const
 
const ::gz::msgs::Coloremissive () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_ambient () const
 
bool has_diffuse () const
 
bool has_emissive () const
 
bool has_header () const
 
bool has_pbr () const
 
bool has_script () const
 
bool has_specular () const
 
const ::gz::msgs::Headerheader () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
bool lighting () const
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const Material &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::gz::msgs::Colormutable_ambient ()
 
::gz::msgs::Colormutable_diffuse ()
 
::gz::msgs::Colormutable_emissive ()
 
::gz::msgs::Headermutable_header ()
 
::std::stringmutable_normal_map ()
 
::gz::msgs::Material_PBRmutable_pbr ()
 
::gz::msgs::Material_Scriptmutable_script ()
 
::gz::msgs::Colormutable_specular ()
 
MaterialNew () const final
 
MaterialNew (::google::protobuf::Arena *arena) const final
 
const ::std::stringnormal_map () const
 
Materialoperator= (const Material &from)
 
const ::gz::msgs::Material_PBRpbr () const
 
::gz::msgs::Colorrelease_ambient ()
 
::gz::msgs::Colorrelease_diffuse ()
 
::gz::msgs::Colorrelease_emissive ()
 
::gz::msgs::Headerrelease_header ()
 
::std::stringrelease_normal_map ()
 
::gz::msgs::Material_PBRrelease_pbr ()
 
::gz::msgs::Material_Scriptrelease_script ()
 
::gz::msgs::Colorrelease_specular ()
 
double render_order () const
 
const ::gz::msgs::Material_Scriptscript () const
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_ambient (::gz::msgs::Color *ambient)
 
void set_allocated_diffuse (::gz::msgs::Color *diffuse)
 
void set_allocated_emissive (::gz::msgs::Color *emissive)
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_normal_map (::std::string *normal_map)
 
void set_allocated_pbr (::gz::msgs::Material_PBR *pbr)
 
void set_allocated_script (::gz::msgs::Material_Script *script)
 
void set_allocated_specular (::gz::msgs::Color *specular)
 
void set_double_sided (bool value)
 
void set_lighting (bool value)
 
void set_normal_map (const ::std::string &value)
 
void set_normal_map (const char *value)
 
void set_normal_map (const char *value, size_t size)
 
void set_render_order (double value)
 
void set_shader_type (::gz::msgs::Material_ShaderType value)
 
void set_shininess (double value)
 
::gz::msgs::Material_ShaderType shader_type () const
 
double shininess () const
 
const ::gz::msgs::Colorspecular () const
 
void Swap (Material *other)
 

Static Public Member Functions

static const Materialdefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Materialinternal_default_instance ()
 
static const ::google::protobuf::EnumDescriptor * ShaderType_descriptor ()
 
static bool ShaderType_IsValid (int value)
 
static const ::std::stringShaderType_Name (ShaderType value)
 
static bool ShaderType_Parse (const ::std::string &name, ShaderType *value)
 

Static Public Attributes

static const int kAmbientFieldNumber = 5
 
static const int kDiffuseFieldNumber = 6
 
static const int kDoubleSidedFieldNumber = 12
 
static const int kEmissiveFieldNumber = 8
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kLightingFieldNumber = 9
 
static const int kNormalMapFieldNumber = 4
 
static const int kPbrFieldNumber = 10
 
static const int kRenderOrderFieldNumber = 11
 
static const int kScriptFieldNumber = 2
 
static const int kShaderTypeFieldNumber = 3
 
static const int kShininessFieldNumber = 13
 
static const int kSpecularFieldNumber = 7
 
static const ShaderType NORMAL_MAP_OBJECT_SPACE
 
static const ShaderType NORMAL_MAP_TANGENT_SPACE
 
static const ShaderType PIXEL
 
static const int ShaderType_ARRAYSIZE
 
static const ShaderType ShaderType_MAX
 
static const ShaderType ShaderType_MIN
 
static const ShaderType VERTEX
 

Member Typedef Documentation

◆ PBR

typedef Material_PBR PBR

◆ Script

◆ ShaderType

Constructor & Destructor Documentation

◆ Material() [1/2]

Material ( )

◆ ~Material()

virtual ~Material ( )
virtual

◆ Material() [2/2]

Material ( const Material from)

Member Function Documentation

◆ ambient()

const ::gz::msgs::Color & ambient ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_ambient()

void clear_ambient ( )

◆ clear_diffuse()

void clear_diffuse ( )

◆ clear_double_sided()

void clear_double_sided ( )
inline

◆ clear_emissive()

void clear_emissive ( )

◆ clear_header()

void clear_header ( )

◆ clear_lighting()

void clear_lighting ( )
inline

◆ clear_normal_map()

void clear_normal_map ( )
inline

◆ clear_pbr()

void clear_pbr ( )
inline

◆ clear_render_order()

void clear_render_order ( )
inline

◆ clear_script()

void clear_script ( )
inline

◆ clear_shader_type()

void clear_shader_type ( )
inline

◆ clear_shininess()

void clear_shininess ( )
inline

◆ clear_specular()

void clear_specular ( )

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const Material from)

◆ default_instance()

static const Material& default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ diffuse()

const ::gz::msgs::Color & diffuse ( ) const
inline

◆ double_sided()

bool double_sided ( ) const
inline

◆ emissive()

const ::gz::msgs::Color & emissive ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const
final

◆ has_ambient()

bool has_ambient ( ) const
inline

◆ has_diffuse()

bool has_diffuse ( ) const
inline

◆ has_emissive()

bool has_emissive ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_pbr()

bool has_pbr ( ) const
inline

◆ has_script()

bool has_script ( ) const
inline

◆ has_specular()

bool has_specular ( ) const
inline

◆ header()

const ::gz::msgs::Header & header ( ) const
inline

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ lighting()

bool lighting ( ) const
inline

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const Material from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_ambient()

gz::msgs::Color * mutable_ambient ( )
inline

◆ mutable_diffuse()

gz::msgs::Color * mutable_diffuse ( )
inline

◆ mutable_emissive()

gz::msgs::Color * mutable_emissive ( )
inline

◆ mutable_header()

gz::msgs::Header * mutable_header ( )
inline

◆ mutable_normal_map()

std::string * mutable_normal_map ( )
inline

◆ mutable_pbr()

gz::msgs::Material_PBR * mutable_pbr ( )
inline

◆ mutable_script()

gz::msgs::Material_Script * mutable_script ( )
inline

◆ mutable_specular()

gz::msgs::Color * mutable_specular ( )
inline

◆ New() [1/2]

Material* New ( ) const
inlinefinal

◆ New() [2/2]

Material* New ( ::google::protobuf::Arena *  arena) const
inlinefinal

◆ normal_map()

const ::std::string & normal_map ( ) const
inline

◆ operator=()

Material& operator= ( const Material from)
inline

◆ pbr()

const ::gz::msgs::Material_PBR & pbr ( ) const
inline

◆ release_ambient()

gz::msgs::Color * release_ambient ( )
inline

◆ release_diffuse()

gz::msgs::Color * release_diffuse ( )
inline

◆ release_emissive()

gz::msgs::Color * release_emissive ( )
inline

◆ release_header()

gz::msgs::Header * release_header ( )
inline

◆ release_normal_map()

std::string * release_normal_map ( )
inline

◆ release_pbr()

gz::msgs::Material_PBR * release_pbr ( )
inline

◆ release_script()

gz::msgs::Material_Script * release_script ( )
inline

◆ release_specular()

gz::msgs::Color * release_specular ( )
inline

◆ render_order()

double render_order ( ) const
inline

◆ script()

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_ambient()

void set_allocated_ambient ( ::gz::msgs::Color ambient)
inline

References Material::ambient().

◆ set_allocated_diffuse()

void set_allocated_diffuse ( ::gz::msgs::Color diffuse)
inline

References Material::diffuse().

◆ set_allocated_emissive()

void set_allocated_emissive ( ::gz::msgs::Color emissive)
inline

References Material::emissive().

◆ set_allocated_header()

void set_allocated_header ( ::gz::msgs::Header header)
inline

References Material::header().

◆ set_allocated_normal_map()

void set_allocated_normal_map ( ::std::string normal_map)
inline

◆ set_allocated_pbr()

void set_allocated_pbr ( ::gz::msgs::Material_PBR pbr)
inline

References Material::pbr().

◆ set_allocated_script()

void set_allocated_script ( ::gz::msgs::Material_Script script)
inline

References Material::script().

◆ set_allocated_specular()

void set_allocated_specular ( ::gz::msgs::Color specular)
inline

References Material::specular().

◆ set_double_sided()

void set_double_sided ( bool  value)
inline

◆ set_lighting()

void set_lighting ( bool  value)
inline

◆ set_normal_map() [1/3]

void set_normal_map ( const ::std::string value)
inline

◆ set_normal_map() [2/3]

void set_normal_map ( const char *  value)
inline

◆ set_normal_map() [3/3]

void set_normal_map ( const char *  value,
size_t  size 
)
inline

◆ set_render_order()

void set_render_order ( double  value)
inline

◆ set_shader_type()

void set_shader_type ( ::gz::msgs::Material_ShaderType  value)
inline

◆ set_shininess()

void set_shininess ( double  value)
inline

◆ shader_type()

gz::msgs::Material_ShaderType shader_type ( ) const
inline

◆ ShaderType_descriptor()

static const ::google::protobuf::EnumDescriptor* ShaderType_descriptor ( )
inlinestatic

◆ ShaderType_IsValid()

static bool ShaderType_IsValid ( int  value)
inlinestatic

◆ ShaderType_Name()

static const ::std::string& ShaderType_Name ( ShaderType  value)
inlinestatic

◆ ShaderType_Parse()

static bool ShaderType_Parse ( const ::std::string name,
ShaderType value 
)
inlinestatic

◆ shininess()

double shininess ( ) const
inline

◆ specular()

const ::gz::msgs::Color & specular ( ) const
inline

◆ Swap()

void Swap ( Material other)

Member Data Documentation

◆ kAmbientFieldNumber

const int kAmbientFieldNumber = 5
static

◆ kDiffuseFieldNumber

const int kDiffuseFieldNumber = 6
static

◆ kDoubleSidedFieldNumber

const int kDoubleSidedFieldNumber = 12
static

◆ kEmissiveFieldNumber

const int kEmissiveFieldNumber = 8
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
2

◆ kLightingFieldNumber

const int kLightingFieldNumber = 9
static

◆ kNormalMapFieldNumber

const int kNormalMapFieldNumber = 4
static

◆ kPbrFieldNumber

const int kPbrFieldNumber = 10
static

◆ kRenderOrderFieldNumber

const int kRenderOrderFieldNumber = 11
static

◆ kScriptFieldNumber

const int kScriptFieldNumber = 2
static

◆ kShaderTypeFieldNumber

const int kShaderTypeFieldNumber = 3
static

◆ kShininessFieldNumber

const int kShininessFieldNumber = 13
static

◆ kSpecularFieldNumber

const int kSpecularFieldNumber = 7
static

◆ NORMAL_MAP_OBJECT_SPACE

const ShaderType NORMAL_MAP_OBJECT_SPACE
static

◆ NORMAL_MAP_TANGENT_SPACE

const ShaderType NORMAL_MAP_TANGENT_SPACE
static

◆ PIXEL

const ShaderType PIXEL
static
Initial value:

◆ ShaderType_ARRAYSIZE

const int ShaderType_ARRAYSIZE
static

◆ ShaderType_MAX

const ShaderType ShaderType_MAX
static

◆ ShaderType_MIN

const ShaderType ShaderType_MIN
static

◆ VERTEX

const ShaderType VERTEX
static
Initial value:

The documentation for this class was generated from the following file: