diff --git a/proto/gz/msgs/material_color.proto b/proto/gz/msgs/material_color.proto index 62dfb67d..3bb2ab30 100644 --- a/proto/gz/msgs/material_color.proto +++ b/proto/gz/msgs/material_color.proto @@ -31,6 +31,16 @@ import "gz/msgs/header.proto"; message MaterialColor { + /// \brief Entities to apply material color. + enum Apply + { + /// \brief Apply material color to first matching entity. + FIRST = 0; + + /// \brief Apply material color to all matching entities. + LIGHT = 1; + } + /// \brief Optional header data Header header = 1; @@ -69,4 +79,7 @@ message MaterialColor /// \brief Specular exponent double shininess = 7; + + /// \brief Entities to apply material color + Apply apply = 8; }