Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::blueprint::encodings::VisualizerComponentMapping Struct Reference

Encoding: Associate components of an entity to components of a visualizer. More...

#include <rerun/blueprint/encodings/visualizer_component_mapping.hpp>

Public Attributes

rerun::encodings::Utf8 target
 Target component name which is being mapped to.
 
rerun::blueprint::encodings::ComponentSourceKind source_kind
 What kind of source to pick.
 
std::optional< std::string > source_component
 Component selector for mapping.
 
std::optional< std::string > selector
 Optional selector string using jq-like syntax to pick a specific field on source_component.
 

Detailed Description

Encoding: Associate components of an entity to components of a visualizer.

This type is unstable and may change significantly in a way that the data won't be backwards compatible.

Member Data Documentation

◆ target

rerun::encodings::Utf8 rerun::blueprint::encodings::VisualizerComponentMapping::target

Target component name which is being mapped to.

This represents a "slot" on the visualizer.

◆ source_component

std::optional<std::string> rerun::blueprint::encodings::VisualizerComponentMapping::source_component

Component selector for mapping.

Defaults to target if not specified.

◆ selector

std::optional<std::string> rerun::blueprint::encodings::VisualizerComponentMapping::selector

Optional selector string using jq-like syntax to pick a specific field on source_component.

Example: ".x" picks a field called "x" from the source_component if present.

Defaults to empty string if not specified.


The documentation for this struct was generated from the following file: