Color
Color in RGBA format.
Panel Support
Color is used in the 3D Panel and Image Panel.
Parent Schema
Color appears in the ArrowPrimitive, CircleAnnotation, CubePrimitive, CylinderPrimitive, LinePrimitive, ModelPrimitive, PointsAnnotation, SpherePrimitive, TextAnnotation, TextPrimitive, TriangleListPrimitive message schemas.
Field Definitions
| Field Name | Type | Description |
|---|---|---|
r | float64 | Red, value between 0 and 1 |
g | float64 | Green, value between 0 and 1 |
b | float64 | Blue, value between 0 and 1 |
a | float64 | Alpha (transparency), value between 0 and 1 |
References
coScene's schema types are framework-independent and can be implemented using any supported message encoding format.
| Encoding Format | Schema Name |
|---|---|
| ROS 1 | foxglove_msgs/Color |
| ROS 2 | foxglove_msgs/msg/Color |
| JSON | foxglove.Color |
| Protobuf | foxglove.Color |
| FlatBuffers | foxglove.Color |
| OMG IDL | foxglove::Color |
Note: You must use the schema names specified above for coScene to recognize them correctly.