Skip to content

Commit

Permalink
MaterialColor change Apply->EntityMatch
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 fed8726 commit 26f02aa
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions proto/gz/msgs/material_color.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import "gz/msgs/header.proto";

message MaterialColor
{
/// \brief Entities to apply material color.
enum Apply
/// \brief Entities that match to apply material color.
enum EntityMatch
{
/// \brief Apply material color to first matching entity.
FIRST = 0;
Expand All @@ -42,7 +42,7 @@ message MaterialColor
}

/// \brief Optional header data
Header header = 1;
Header header = 1;

/// \brief Entity for which material colors are going to be modified.
///
Expand All @@ -63,23 +63,23 @@ message MaterialColor
/// * model_name::link_name::visual_name
/// * link_name::visual_name
/// * visual_name
Entity entity = 2;
Entity entity = 2;

/// \brief Ambient color
Color ambient = 3;
Color ambient = 3;

/// \brief Diffuse color
Color diffuse = 4;
Color diffuse = 4;

/// \brief Specular color
Color specular = 5;
Color specular = 5;

/// \brief Emissive color
Color emissive = 6;
Color emissive = 6;

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

/// \brief Entities to apply material color
Apply apply = 8;
/// \brief Entities that match to apply material color.
EntityMatch entity_match = 8;
}

0 comments on commit 26f02aa

Please sign in to comment.