Skip to content

Commit

Permalink
Add Apply Enum to MaterialColor.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti committed Jan 17, 2024
1 parent 35a267f commit 631aa8a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions proto/gz/msgs/material_color.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -69,4 +79,7 @@ message MaterialColor

/// \brief Specular exponent
double shininess = 7;

/// \brief Entities to apply material color
Apply apply = 8;
}

0 comments on commit 631aa8a

Please sign in to comment.