Function re_viewer::external::re_view::view_property_component_ui_custom

source ยท
pub fn view_property_component_ui_custom(
    ctx: &QueryContext<'_>,
    ui: &mut Ui,
    property: &ViewProperty,
    display_name: &str,
    field: &ArchetypeFieldReflection,
    singleline_ui: &dyn Fn(&mut Ui),
    multiline_ui: Option<&dyn Fn(&mut Ui)>,
)
Expand description

Draw view property ui for a single component of a view property archetype with custom ui for singleline & multiline.

Use view_property_ui whenever possible to show the ui for all components of a view property archetype. This function is only useful if you want to show custom ui for some of the components.