Skip to content

Commit 631aa8a

Browse files
committed
Add Apply Enum to MaterialColor.
Signed-off-by: Benjamin Perseghetti <[email protected]>
1 parent 35a267f commit 631aa8a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

proto/gz/msgs/material_color.proto

+13
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ import "gz/msgs/header.proto";
3131

3232
message MaterialColor
3333
{
34+
/// \brief Entities to apply material color.
35+
enum Apply
36+
{
37+
/// \brief Apply material color to first matching entity.
38+
FIRST = 0;
39+
40+
/// \brief Apply material color to all matching entities.
41+
LIGHT = 1;
42+
}
43+
3444
/// \brief Optional header data
3545
Header header = 1;
3646

@@ -69,4 +79,7 @@ message MaterialColor
6979

7080
/// \brief Specular exponent
7181
double shininess = 7;
82+
83+
/// \brief Entities to apply material color
84+
Apply apply = 8;
7285
}

0 commit comments

Comments
 (0)